# -*- encoding: binary -*-# :enddoc:# This module only gets loaded on shutdownmodule Rainbows::JoinThreads# blocking acceptor threads must be forced to rundef self.acceptors(threads)
threads.delete_if do|thr|
Rainbows.tick
begin
thr.run
thr.join(0.01)rescuetrueendend until threads.empty?endend