Полезная информация

Perl in a Nutshell

Perl in a NutshellSearch this book
Previous: 8.150 Thread::SemaphoreChapter 8
Standard Modules
Next: Reference: down
 

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::SemaphorePerl in a NutshellNext: Reference: down
8.150 Thread::SemaphoreBook IndexReference: down