[Top]
Thread
Thread.Condition
|
Method Thread.Condition()->wait()
- Method
wait
-
void Thread.Condition()->wait()
void Thread.Condition()->wait(object(Thread.MutexKey) mutex_key)
- Description
-
Wait for contition.
This function makes the current thread sleep until the condition
variable is signalled. The optional argument should be the 'key'
to a mutex lock. If present the mutex lock will be unlocked before
waiting for the condition in one atomic operation. After waiting
for the condition the mutex referenced by mutex_key will be re-locked.
- See also
-
Thread.Mutex.lock
|