about summary refs log tree commit homepage
path: root/lib/rainbows/xepoll
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2011-03-20 03:07:31 +0000
committerEric Wong <normalperson@yhbt.net>2011-03-20 03:07:31 +0000
commitc7e75cfe241a621f50c750720c47149a156e8e7f (patch)
treefc00265a91e54cd14af77da683235ecc0a865185 /lib/rainbows/xepoll
parentd327a0d468e5b5cfb05bb56621fb22d156ce3a40 (diff)
downloadrainbows-c7e75cfe241a621f50c750720c47149a156e8e7f.tar.gz
Run under 1.9.3dev
Diffstat (limited to 'lib/rainbows/xepoll')
-rw-r--r--lib/rainbows/xepoll/client.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rainbows/xepoll/client.rb b/lib/rainbows/xepoll/client.rb
index da0a0d1..6cae2f1 100644
--- a/lib/rainbows/xepoll/client.rb
+++ b/lib/rainbows/xepoll/client.rb
@@ -9,7 +9,7 @@ module Rainbows::XEpoll::Client
   THRESH = MAX - 1
   EP = Rainbows::Epoll::EP
   THREADS = Rainbows::HttpServer::LISTENERS.map do |sock|
-    Thread.new(sock) do |sock|
+    Thread.new do
       sleep
       begin
         if io = sock.kgio_accept