diff options
Diffstat (limited to 'lib/rainbows/writer_thread_pool.rb')
-rw-r--r-- | lib/rainbows/writer_thread_pool.rb | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/lib/rainbows/writer_thread_pool.rb b/lib/rainbows/writer_thread_pool.rb index 335a901..a8ffd7d 100644 --- a/lib/rainbows/writer_thread_pool.rb +++ b/lib/rainbows/writer_thread_pool.rb @@ -29,10 +29,6 @@ module Rainbows to_io.kgio_addr end - def readpartial(size, buf = "") - to_io.readpartial(size, buf) - end - def kgio_read(size, buf = "") to_io.kgio_read(size, buf) end @@ -41,8 +37,8 @@ module Rainbows to_io.kgio_read!(size, buf) end - def write_nonblock(buf) - to_io.write_nonblock(buf) + def kgio_trywrite(buf) + to_io.kgio_trywrite(buf) end def write(buf) |