diff options
author | Eric Wong <normalperson@yhbt.net> | 2011-03-20 03:07:31 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2011-03-20 03:07:31 +0000 |
commit | c7e75cfe241a621f50c750720c47149a156e8e7f (patch) | |
tree | fc00265a91e54cd14af77da683235ecc0a865185 /lib/rainbows/writer_thread_spawn | |
parent | d327a0d468e5b5cfb05bb56621fb22d156ce3a40 (diff) | |
download | rainbows-c7e75cfe241a621f50c750720c47149a156e8e7f.tar.gz |
Run under 1.9.3dev
Diffstat (limited to 'lib/rainbows/writer_thread_spawn')
-rw-r--r-- | lib/rainbows/writer_thread_spawn/client.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rainbows/writer_thread_spawn/client.rb b/lib/rainbows/writer_thread_spawn/client.rb index 3106253..e5c8854 100644 --- a/lib/rainbows/writer_thread_spawn/client.rb +++ b/lib/rainbows/writer_thread_spawn/client.rb @@ -69,7 +69,7 @@ class Rainbows::WriterThreadSpawn::Client < Struct.new(:to_io, :q, :thr) end q = Queue.new - self.thr = Thread.new(to_io, q) do |io, q| + self.thr = Thread.new(to_io) do |io| while op = q.shift begin op, *rest = op |