class Concurrent::CachedThreadPool

def kill

def kill
  @mutex.synchronize do
    break if @state == :shutdown
    @state = :shutdown
      @idle.each{|worker| worker.kill }
      @busy.each{|worker| worker.kill }
    @terminator.set
  end
end