class Integer
:nodoc:
def threads_do jobs # :nodoc:
:nodoc:
def threads_do jobs # :nodoc: q = Work.new jobs Array.new(self) { Thread.new do while job = q.pop # go until quit value yield job end end }.each(&:join) end
:nodoc:
def threads_do jobs # :nodoc: q = Work.new jobs Array.new(self) { Thread.new do while job = q.pop # go until quit value yield job end end }.each(&:join) end