Method: Async::Condition#initialize
- Defined in:
- lib/async/condition.rb
#initialize ⇒ Condition
Create a new condition.
15 16 17 |
# File 'lib/async/condition.rb', line 15 def initialize @ready = ::Thread::Queue.new end |
Create a new condition.
15 16 17 |
# File 'lib/async/condition.rb', line 15 def initialize @ready = ::Thread::Queue.new end |