#include <oskit/com/lock_mgr.h>OSKIT_COMDECL oskit_lock_mgr_allocate_condvar(oskit_lock_mgr_t *lmgr, [out] oskit_condvar_t *out_condvar);
This method returns an oskit_condvar_t COM interface in out_condvar. Condition variables may be used in conjuction with locks to form monitors.
- lmgr
- The lock manager COM interface.
- out_condvar
- The oskit_condvar COM interface for the new condition variable.
Returns 0 on success, or an error code specified in <oskit/error.h>, on error.