18 #pragma warning(disable:4668)
19 #pragma warning(disable:4820)
20 #pragma warning(disable:4255)
31 #if defined __linux__ || defined __APPLE__ || defined __CYGWIN__ || defined __QNXNTO__
44 #elif defined __linux__ || defined __APPLE__ || defined __CYGWIN__ || defined __QNXNTO__
47 #error "Unknown System"
VnError VnThread_join(VnThread *thread)
Blocks the calling thread until the referenced thread finishes.
VnError VnThread_startNew(VnThread *thread, VnThread_StartRoutine startRoutine, void *routineData)
Starts a new thread immediately which calls the provided start routine.
void VnThread_sleepMs(uint32_t numOfMsToSleep)
Causes the calling thread to sleep the specified number of milliseconds.
Structure for working with threads.
Definition: thread.h:40
void VnThread_sleepUs(uint32_t numOfUsToSleep)
Causes the calling thread to sleep the specified number of microseconds.
void VnThread_sleepSec(uint32_t numOfSecsToSleep)
Causes the calling thread to sleep the specified number of seconds.
void(* VnThread_StartRoutine)(void *)
Function signature for a start routine for a thread.
Definition: thread.h:52