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