Thread functions include functions for creating your own threads that are compatible with the server’s threads. Routines also exist for critical sections and condition variables.
systhread_start creates a new thread. For more information, see systhread_start() Function.
systhread_sleep puts a thread to sleep for a given time. For more information, see systhread_sleep() Function.
crit_init creates a new critical section variable. For more information, see crit_init() Function.
crit_enter gains ownership of a critical section. For more information, see crit_enter() Function.
crit_exit surrenders ownership of a critical section. For more information, see crit_exit() Function.
crit_terminate disposes of a critical section variable. For more information, see crit_terminate() Function.
condvar_init creates a new condition variable. For more information, see condvar_init() Function.
condvar_notify awakens any threads blocked on a condition variable. For more information, see condvar_notify() Function.
condvar_wait blocks on a condition variable. For more information, see condvar_wait() Function.
condvar_terminate disposes of a condition variable. For more information, see condvar_terminate() Function.
prepare_nsapi_thread enables threads that are not created by the server to act like server-created threads. For more information, see prepare_nsapi_thread() Function.