home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam  


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: down Perl in a Nutshell Next: 8.150 Thread::Semaphore
Reference: down Book Index 8.150 Thread::Semaphore

Library Navigation Links

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