From dd2b2274ef0cd8a121cf7655ade939a1f63bc971 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Wed, 25 Nov 2009 19:01:34 -0800 Subject: AppPool middleware now compatible with Fibers 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). --- lib/rainbows/fiber.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/rainbows/fiber.rb') 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 = {} -- cgit v1.2.3-24-ge0c7