Class Semaphore
In: lib/more/facets/semaphore.rb
Parent: Object

Semaphore

Technically a semaphore is simply an integer variable which has an execution queue associated with it.

Methods

down   exclusive   new   p   signal   synchronize   up   v   wait  

Public Class methods

Public Instance methods

down()

Alias for wait

p()

Alias for wait

synchronize()

Alias for exclusive

up()

Alias for signal

v()

Alias for signal

[Validate]