54 typedef void* (*ThreadExecutionFunction) (
void*);
Semaphore Semaphore_create(int initialValue)
void Semaphore_post(Semaphore self)
void Semaphore_wait(Semaphore self)
Thread Thread_create(ThreadExecutionFunction function, void *parameter, bool autodestroy)
Create a new Thread instance.
void * Semaphore
Definition: hal_thread.h:51
void Thread_destroy(Thread thread)
Destroy a Thread and free all related resources.
void *(* ThreadExecutionFunction)(void *)
Definition: hal_thread.h:54
void Thread_start(Thread thread)
Start a Thread.
void Semaphore_destroy(Semaphore self)
struct sThread * Thread
Definition: hal_thread.h:48
void Thread_sleep(int millies)
Suspend execution of the Thread for the specified number of milliseconds.