COSA
An Object-Oriented Platform for Arduino Programming
Thread.cpp File Reference
#include "Thread.hh"
#include "Cosa/Watchdog.hh"
#include "Cosa/Power.hh"
#include <alloca.h>
Include dependency graph for Thread.cpp:

Go to the source code of this file.

Functions

static void thread_delay (uint32_t ms)
 
static void thread_yield ()
 
static void thread_sleep (uint16_t s)
 

Detailed Description

Version
1.0

License

Copyright (C) 2014-2015, Mikael Patel

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

This file is part of the Arduino Che Cosa project.

Definition in file Thread.cpp.

Function Documentation

static void thread_delay ( uint32_t  ms)
static

Definition at line 26 of file Thread.cpp.

static void thread_sleep ( uint16_t  s)
static

Definition at line 36 of file Thread.cpp.

static void thread_yield ( )
static

Definition at line 31 of file Thread.cpp.