about summary refs log tree commit homepage
path: root/lib/rainbows/rev_fiber_spawn.rb
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2009-12-22 13:38:58 -0800
committerEric Wong <normalperson@yhbt.net>2009-12-22 13:52:54 -0800
commit0df219ef8f9a514553e13f2f98575896f6cc7c39 (patch)
treef7f0a61fd04fe699b2fe9ca901f58c975c6fc973 /lib/rainbows/rev_fiber_spawn.rb
parent8a15fc14067e85c419a31e6d70c2491e65d88e60 (diff)
downloadrainbows-0df219ef8f9a514553e13f2f98575896f6cc7c39.tar.gz
This release should fix ThreadSpawn green thread blocking issues
under MRI 1.8.  Excessive socket closing is avoided when using
Thread* models with Sunshowers (or clients disconnecting
during uploads).

There is a new RevFiberSpawn concurrency model which combines
Rev with the traditional FiberSpawn model.
Diffstat (limited to 'lib/rainbows/rev_fiber_spawn.rb')
-rw-r--r--lib/rainbows/rev_fiber_spawn.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rainbows/rev_fiber_spawn.rb b/lib/rainbows/rev_fiber_spawn.rb
index 4ce2995..afaf82a 100644
--- a/lib/rainbows/rev_fiber_spawn.rb
+++ b/lib/rainbows/rev_fiber_spawn.rb
@@ -9,7 +9,7 @@ module Rainbows
   # concurrency provided by Rev.  A "rack.input" is exposed as well
   # being Sunshowers-compatible.  Applications are strongly advised to
   # wrap all slow IO objects (sockets, pipes) using the
-  # Rainbows::Fiber::IO or similar class whenever possible.
+  # Rainbows::Fiber::IO or a Rev-compatible class whenever possible.
   module RevFiberSpawn
 
     include Base