Method: Thread::Pool#done?

Defined in:
lib/thread/pool.rb

#done?Boolean

Are all tasks consumed ?

Returns:

  • (Boolean)


192
193
194
# File 'lib/thread/pool.rb', line 192

def done?
	@todo.empty? and @waiting == @spawned
end