From 2b85ea421197af84a13f6062b21ddcf61490ebcf Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Mon, 27 Dec 2010 08:57:31 +0000 Subject: doc: misc cleanups and additions for RDoc This is also our website, so we need to document the new Cool.io-based concurrency options for users and point existing Rev* users to it. --- lib/rainbows/coolio_fiber_spawn.rb | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'lib/rainbows/coolio_fiber_spawn.rb') diff --git a/lib/rainbows/coolio_fiber_spawn.rb b/lib/rainbows/coolio_fiber_spawn.rb index 272d111..6e573b4 100644 --- a/lib/rainbows/coolio_fiber_spawn.rb +++ b/lib/rainbows/coolio_fiber_spawn.rb @@ -1,2 +1,13 @@ -# :enddoc: +# -*- encoding: binary -*- +# :stopdoc: Rainbows.const_set(:CoolioFiberSpawn, Rainbows::RevFiberSpawn) +# :startdoc: + +# A combination of the Coolio and FiberSpawn models. This allows Ruby +# 1.9 Fiber-based concurrency for application processing while +# exposing a synchronous execution model and using scalable network +# concurrency provided by Cool.io. 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 a Cool.io-compatible class whenever possible. +module Rainbows::CoolFiberSpawn; end -- cgit v1.2.3-24-ge0c7