about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2011-05-20 18:58:04 +0000
committerEric Wong <normalperson@yhbt.net>2011-05-20 19:00:02 +0000
commitbba079d8a605b546bc262e80234c3c233a386e44 (patch)
tree58e205558d430901f547845e55123a4a01cb388d
parentea6d0eab436c78113f8a61e7fcc34db4117d14c0 (diff)
downloadrainbows-bba079d8a605b546bc262e80234c3c233a386e44.tar.gz
This should enable Kgio "autopush" support for ThreadSpawn,
ThreadPool, XEpollThreadSpawn, and XEpollThreadPool.

(still needs tests)
-rw-r--r--lib/rainbows/client.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/rainbows/client.rb b/lib/rainbows/client.rb
index b044f26..cc02c0b 100644
--- a/lib/rainbows/client.rb
+++ b/lib/rainbows/client.rb
@@ -29,4 +29,6 @@ class Rainbows::Client < Kgio::Socket
       end
     end while true
   end
+
+  alias write kgio_write
 end