If it was previously locked, the caller blocks until it is unlocked. Description Try to acquire a lock on the mutex variable associated with the condition variable. Contract Pre None. If the mutex variable is not already locked, the caller obtains a lock on it. If it is already locked, the routine returns immediately to the caller.
Description Release the lock on the mutex variable associated with the condition variable.
Contract Pre None. The lock held by the caller on the mutex variable is released. Description Change the condition variable mutex to be the specifiec mutex variable. The specified mutex variable must be initialized. The condition variable associated with the mutex variable is reset to the specified variable.