From af0497398961b6556cae25c8ddd55327a4ad5104 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Wed, 16 Dec 2009 23:59:29 -0800 Subject: join_threads method is exclusive to ThreadPool --- lib/rainbows/base.rb | 8 -------- 1 file changed, 8 deletions(-) (limited to 'lib/rainbows/base.rb') diff --git a/lib/rainbows/base.rb b/lib/rainbows/base.rb index 9bbe049..547cd6f 100644 --- a/lib/rainbows/base.rb +++ b/lib/rainbows/base.rb @@ -65,14 +65,6 @@ module Rainbows client.close end - def join_threads(threads) - G.quit! - threads.delete_if do |thr| - G.tick - thr.alive? ? thr.join(0.01) : true - end until threads.empty? - end - def self.included(klass) klass.const_set :LISTENERS, HttpServer::LISTENERS klass.const_set :G, Rainbows::G -- cgit v1.2.3-24-ge0c7