diff options
author | Eric Wong <normalperson@yhbt.net> | 2009-11-25 19:01:34 -0800 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2009-11-25 19:07:01 -0800 |
commit | dd2b2274ef0cd8a121cf7655ade939a1f63bc971 (patch) | |
tree | 053dbbd07b6dc3b1339f1ea19ad22afd8add52f3 /lib/rainbows/fiber.rb | |
parent | 7f11b212f78a5070bea17bc20af43395b6cc621d (diff) | |
download | rainbows-dd2b2274ef0cd8a121cf7655ade939a1f63bc971.tar.gz |
This enables the safe use of Rainbows::AppPool with all concurrency models, not just threaded ones. AppPool is now effective with *all* Fiber-based concurrency models including Revactor (and of course the new Fiber{Pool,Spawn} ones).
Diffstat (limited to 'lib/rainbows/fiber.rb')
-rw-r--r-- | lib/rainbows/fiber.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/rainbows/fiber.rb b/lib/rainbows/fiber.rb index 94502a3..f0755aa 100644 --- a/lib/rainbows/fiber.rb +++ b/lib/rainbows/fiber.rb @@ -4,6 +4,8 @@ require 'rainbows/fiber/io' module Rainbows module Fiber + autoload :Queue, 'rainbows/fiber/queue' + RD = {} WR = {} ZZ = {} |