#include <oskit/com/condvar.h>OSKIT_COMDECL oskit_condvar_wait(oskit_condvar_t *condvar, oskit_lock_t *lock);
This method causes the current thread is to wait until the condition variable is signaled or broadcast. The oskit_lock object must be locked when called. The lock is released prior to waiting, and reacquired before returning.
- condvar
- The oskit_condvar COM interface for the condition variable.
- lock
- The oskit_lock COM interface for the lock.
Returns 0 on success, or an error code specified in <oskit/error.h>, on error.