cf_cv_wait¶
Category: multithreading
GitHub: cute_multithreading.h
Causes the calling thread to wait on the condition variable.
Parameters | Description |
---|---|
cv | The condition variable. |
mutex | The mutex used to access the condition variable. |
Return Value¶
Returns any errors as a CF_Result.
Remarks¶
The thread will not wake until cf_cv_wake_all or cf_cv_wake_one is called.
Related Pages¶
CF_ConditionVariable
cf_make_cv
cf_destroy_cv
cf_cv_wake_all
cf_cv_wake_one