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


new

$

sem

 
= new Thread::Semaphore([


val


])

Constructor. Creates a new semaphore object, with an optional initial count of val , or 1 if val isn't specified.


Previous: 8.150 Thread::Semaphore Perl in a Nutshell Next: Reference: down
8.150 Thread::Semaphore Book Index Reference: down

Library Navigation Links

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