22 #define THREAD_MS_PER_TICK 10 23 #define THREAD_STATUS_DEFAULT 1 30 struct threadTCBData_t;
85 TIMSK0 = (1 << OCIE0A);
pThread_t threadAdd(threadFunc_t f, void *pArgument, uint16_t periodTicks)
Definition: thread.c:35
threadStatus_t(* threadFunc_t)(threadStatus_t state, void *pArgument)
Definition: thread.h:47
void threadStart()
Definition: thread.c:50
struct threadTCBData_t * pThread_t
Definition: thread.h:34
void threadEndCriticalBlock()
Definition: thread.h:84
void threadBeginCriticalBlock()
Definition: thread.h:76
int8_t threadStatus_t
defines the integer type used for the thread state.
Definition: thread.h:30