Perl in a Nutshell

Perl in a NutshellSearch this book
Previous: 8.149 Thread::QueueChapter 8
Standard Modules
Next: 8.151 Thread::Signal

8.150 Thread::Semaphore

Provides a mechanism to regulate access to resources. Semaphores are more general than locks because they aren't tied to a particular scalar. They can have values other than zero or one, and they can be incremented or decremented by some specified number.

Previous: 8.149 Thread::QueuePerl in a NutshellNext: 8.151 Thread::Signal
8.149 Thread::QueueBook Index8.151 Thread::Signal