From bba079d8a605b546bc262e80234c3c233a386e44 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Fri, 20 May 2011 18:58:04 +0000 Subject: client: use kgio_write across the board This should enable Kgio "autopush" support for ThreadSpawn, ThreadPool, XEpollThreadSpawn, and XEpollThreadPool. (still needs tests) --- lib/rainbows/client.rb | 2 ++ 1 file changed, 2 insertions(+) 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 -- cgit v1.2.3-24-ge0c7