Reference: cond_wait
Author: Ellen Siever, Stephen Spainhour & Nathan Patwardhan
Date: 1999-07-02T01:53:29Z

#

| Chapter 8 Standard Modules |

## cond_wait

    cond_wait var

Takes the locked variable var, unlocks it, and blocks until another thread does a `cond_signal` or `cond_broadcast` for that variable. The variable is relocked after the `cond_wait` has been satisfied. If multiple threads are `cond_wait`ing, all but one will reblock waiting to reacquire the lock.

Reference: cond_signal |  | Reference: eval