about summary refs log tree commit homepage
diff options
context:
space:
mode:
-rw-r--r--lib/rainbows/fiber/base.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rainbows/fiber/base.rb b/lib/rainbows/fiber/base.rb
index 69bf5d9..ccfda96 100644
--- a/lib/rainbows/fiber/base.rb
+++ b/lib/rainbows/fiber/base.rb
@@ -22,7 +22,7 @@ module Rainbows::Fiber::Base
       G.tick
       RD.compact.each { |c| c.f.resume } # attempt to time out idle clients
       t = schedule_sleepers
-      Kernel.select(RD.compact.concat(LISTENERS), WR.compact, nil, t) or return
+      select(RD.compact.concat(LISTENERS), WR.compact, nil, t) or return
     rescue Errno::EINTR
       retry
     rescue Errno::EBADF, TypeError