class Puma::ThreadPool

def <<(work)

Add +work+ to the todo list for a Thread to pickup and process.
def <<(work)
  with_mutex do
    if @shutdown
      raise "Unable to add work while shutting down"
    end
    @todo << work
    if @waiting < @todo.size and @spawned < @max
      spawn_thread
    end
    @not_empty.signal
  end
end