Technically a semaphore is simply an integer variable which has an execution queue associated with it.
Usage
s = CountingSemaphore.new TODO
Author(s)
- fukumoto
Methods
Public Class methods
new(initvalue = 0)
[ source ]
Public Instance methods
Alias for wait
exclusive() {|| ...}
[ source ]
This method is also aliased as
synchronize
Alias for wait
Alias for exclusive
Alias for signal
Alias for signal