AppPool middleware now compatible with Fibers
commitdd2b2274ef0cd8a121cf7655ade939a1f63bc971
authorEric Wong <normalperson@yhbt.net>
Thu, 26 Nov 2009 03:01:34 +0000 (25 19:01 -0800)
committerEric Wong <normalperson@yhbt.net>
Thu, 26 Nov 2009 03:07:01 +0000 (25 19:07 -0800)
tree053dbbd07b6dc3b1339f1ea19ad22afd8add52f3
parent7f11b212f78a5070bea17bc20af43395b6cc621d
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.rb
lib/rainbows/app_pool.rb
lib/rainbows/fiber.rb
lib/rainbows/fiber/queue.rb [new file with mode: 0644]
t/t9000-rack-app-pool.sh
t/t9000.ru