int rtos_task_is_self(const RTOS_TASK *task)
Returns 1 when task is the task struct of the thread calling this function, 0 otherwise.
virtual RTOS_TASK * getTask()=0
Get the RTOS_TASK pointer.
OS Abstractions such as Mutexes, Semaphores and Threads.
This file has all the (periodic) thread specific interfaces.
virtual ~ThreadInterface()
int threadnb
Threads are given an unique number, which follows thread creation order.
int read() const
Read the current value of the integer.
AtomicInt threads(0)
The number of threads in addition to the main() thread.