class Async::WorkerPool

def initialize(size: Etc.nprocessors)

@parameter size [Integer] The number of threads to use.

Create a new work pool.
def initialize(size: Etc.nprocessors)
	@ready = ::Thread::Queue.new
	
	size.times do
		@ready.push(Worker.new)
	end
end