# File lib/puma/thread_pool.rb, line 109 def <<(work) @mutex.synchronize do if @shutdown raise "Unable to add work while shutting down" end @todo << work if @waiting == 0 and @spawned < @max spawn_thread end @cond.signal end end