Method: Thread::Pool#backlog
- Defined in:
- lib/thread/pool.rb
#backlog ⇒ Object
Get the amount of tasks that still have to be run.
185 186 187 188 189 |
# File 'lib/thread/pool.rb', line 185 def backlog @mutex.synchronize { @todo.length } end |