19 #pragma warning(disable:4668)
20 #pragma warning(disable:4820)
21 #pragma warning(disable:4255)
32 #if (defined __linux__ || defined __APPLE__ || defined __CYGWIN__ || defined __QNXNTO__)
45 #elif (defined __linux__ || defined __APPLE__ || defined __CYGWIN__ || defined __QNXNTO__)
46 pthread_mutex_t mutex;
47 pthread_cond_t condition;
50 #error "Unknown System"
VnError VnEvent_signal(VnEvent *event)
Signals an event.
VnError VnEvent_wait(VnEvent *event)
Causes the calling thread to wait on an event until the event is signalled.
VnError VnEvent_waitMs(VnEvent *event, uint32_t timeoutMs)
Causes the calling thread to wait on an event until the event is signalled.
Structure representing an event.
Definition: event.h:41
VnError VnEvent_initialize(VnEvent *event)
Initializes a VnEvent structure.
VnError VnEvent_waitUs(VnEvent *event, uint32_t timeoutUs)
Causes the calling thread to wait on an event until the event is signalled.