Method: ThreadStorm::Execution#join
- Defined in:
- lib/thread_storm/execution.rb
#join ⇒ Object
Block until this execution has finished running.
74 75 76 77 78 |
# File 'lib/thread_storm/execution.rb', line 74 def join @lock.synchronize do @cond.wait_until{ finished? } end end |