rainbows.git  about / heads / tags
Unicorn for sleepy apps and slow clients
blob e65ef1bf3ff36003474b96937fc1ff0889d989f9 304 bytes (raw)
$ git show v0.95.1:lib/rainbows/fiber.rb	# shows this blob on the CLI

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
 
# -*- encoding: binary -*-
# :enddoc:
begin
  require 'fiber'
rescue LoadError
  defined?(NeverBlock) or raise
end

module Rainbows

  # core module for all things that use Fibers in Rainbows!
  module Fiber
    autoload :Base, 'rainbows/fiber/base'
    autoload :Queue, 'rainbows/fiber/queue'
  end
end

git clone https://yhbt.net/rainbows.git