Method: Abid::Waiter#initialize
- Defined in:
- lib/abid/waiter.rb
#initialize ⇒ Waiter
Returns a new instance of Waiter.
7 8 9 10 11 12 13 |
# File 'lib/abid/waiter.rb', line 7 def initialize @cv = ConditionVariable.new @mutex = Mutex.new @queue = MultiRBTree.new @thread = nil @error = nil end |