start page | rating of books | rating of authors | reviews | copyrights

Perl in a Nutshell

Perl in a NutshellSearch this book
Previous: Reference: cond_signal Chapter 8
Standard Modules
Next: Reference: eval
 

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.


Previous: Reference: cond_signal Perl in a Nutshell Next: Reference: eval
Reference: cond_signal Book Index Reference: eval

Library Navigation Links

Copyright © 2001 O'Reilly & Associates. All rights reserved.