Method: Bixby::ThreadPool#num_busy
- Defined in:
- lib/bixby-common/util/thread_pool.rb
#num_busy ⇒ Object Also known as: num_working
58 59 60 61 62 |
# File 'lib/bixby-common/util/thread_pool.rb', line 58 def num_busy @lock.synchronize do return @workers.find_all{ |w| w.working? }.size end end |