Method: Bosh::ThreadPool#wait
- Defined in:
- lib/common/thread_pool.rb
#wait ⇒ Object
103 104 105 106 107 108 109 |
# File 'lib/common/thread_pool.rb', line 103 def wait @logger.debug('Waiting for tasks to complete') @lock.synchronize do @cv.wait(@lock) while working? raise @boom if @boom end end |