lib/thread/pool.rb in thread-0.0.3 vs lib/thread/pool.rb in thread-0.0.4
- old
+ new
@@ -48,10 +48,10 @@
@thread = thread
@running = true
@started_at = Time.now
- pool.__send__.wake_up_timeout
+ pool.__send__ :wake_up_timeout
begin
@block.call(*@arguments)
rescue Exception => reason
if reason.is_a? Timeout