KosCondvarWait()
KosCondvarWait()
This function is declared in the kos/condvar.h
file.
Retcode KosCondvarWait(KosCondvar *condvar, KosMutex *mutex);
This function blocks execution of the current thread via the conditional variable condvar
until it is awakened using KosCondvarSignal() or KosCondvarBroadcast().
mutex
refers to the mutex that will be used for protecting the critical section.
If successful, the function returns rcOk.
Did you find this article helpful?
What can we do better?
Thank you for your feedback! You're helping us improve.
Thank you for your feedback! You're helping us improve.