Class | CountingSemaphore |
In: |
lib/facet/semaphore.rb
|
Parent: | Object |
Technically a semaphore is simply an integer variable which has an execution queue associated with it.
s = CountingSemaphore.new # to do