diff options
Diffstat (limited to 'lib/rainbows/thread_pool.rb')
-rw-r--r-- | lib/rainbows/thread_pool.rb | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/lib/rainbows/thread_pool.rb b/lib/rainbows/thread_pool.rb index b7860eb..63d57cb 100644 --- a/lib/rainbows/thread_pool.rb +++ b/lib/rainbows/thread_pool.rb @@ -59,17 +59,4 @@ module Rainbows::ThreadPool Rainbows::Error.listen_loop(e) end while Rainbows.alive end - - def join_threads(threads) # :nodoc: - Rainbows.quit! - threads.delete_if do |thr| - Rainbows.tick - begin - thr.run - thr.join(0.01) - rescue - true - end - end until threads.empty? - end end |