<dmsdk/dlib/condition_variable.h>
API for platform independent mutex synchronization primitive.
broadcast condition variable
Broadcast condition variable, effectively unblocks all of the waithing threads blocked by the condition variable.
condition -
dmConditionVariable::HConditionVariable ConditionVariable handle.
delete condition variable
Deletes a HConditionVariable.
mutex -
dmConditionVariable::HConditionVariable ConditionVariable handle to delete.
HConditionVariable type definition
typedef struct ConditionVariable* HConditionVariable;
create condition variable
Create a new HConditionVariable
condition_variable -
dmConditionVariable::HConditionVariable A new ConditionVariable handle.
signal condition variable
Signal condition variable, effectively unblocks at least one of the waithing threads blocked by the condition variable.
condition -
dmConditionVariable::HConditionVariable ConditionVariable handle.
wait for condition variable
Wait for condition variable. This is a blocking function, and should be called with the mutex being locked.
condition -
dmConditionVariable::HConditionVariable ConditionVariable handle.
mutex -
dmMutex::HMutex Mutex handle.