axl_bool vortex_cond_wait ( VortexCond cond,
VortexMutex mutex 

Atomically unlocks the mutex (as per vortex_mutex_unlock) and waits for the condition variable cond to be signaled.

The thread execution is suspended and does not consume any CPU time until the condition variable is signaled. The mutex must be locked by the calling thread on entrance to vortex_cond_wait. Before returning to the calling thread, vortex_cond_wait re-acquires mutex (as per vortex_mutex_lock).

condThe conditional variable to oper.
mutexThe mutex that was to associate the condition.
axl_true if no error was found, otherwise axl_false is returned.