$sem = new Thread::Semaphore([val])
sem
val
Constructor. Creates a new semaphore object, with an optional initial count of val, or 1 if val isn't specified.
1
[ Library Home | Perl in a Nutshell | Learning Perl | Learning Perl on Win32 | Programming Perl | Advanced Perl Programming | Perl Cookbook ]