def broadcast
      synchronize do
        @threads.dup.each do |t|
          t.wakeup if t.alive? && t.stop?
        end
      end
    end
def broadcast
      synchronize do
        @threads.dup.each do |t|
          t.wakeup if t.alive? && t.stop?
        end
      end
    end
Wake up all threads