You need to read the docs a little more closely. From the POD (their emphasis):
The cond_wait function takes a locked variable as a parameter,
In reply to Re: Blocking cond_signal until someone cond_waits
by BrowserUk
in thread Blocking cond_signal until someone cond_waits
by bucky0
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |