Reference: up (Perl in a Nutshell)

Perl in a Nutshell

Perl in a NutshellSearch this book
Previous: Reference: downChapter 8
Standard Modules
Next: 8.150 Thread::Semaphore
 

up

up [number]

Increments the semaphore's count by the specified number, which defaults to 1. If a thread is blocked waiting to decrement the count, and the increment brings the count high enough, the blocked thread is unblocked.


Previous: Reference: downPerl in a NutshellNext: 8.150 Thread::Semaphore
Reference: downBook Index8.150 Thread::Semaphore

Library Navigation Links

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