split out accept() callers to acceptor module
commit47e1ee2d90161abf92ce14562bf508398fdfa6c9
authorEric Wong <e@yhbt.net>
Wed, 25 Aug 2010 20:58:11 +0000 (25 13:58 -0700)
committerEric Wong <normalperson@yhbt.net>
Thu, 26 Aug 2010 08:47:36 +0000 (26 08:47 +0000)
treed4fb816d9874ec0b0bdfd285e9ca10e4f17d0227
parentbd3ed0b04f826b20cce83f9b77fc13c0eefd3902
split out accept() callers to acceptor module

Trying to avoid adding singleton methods since it's too easily
accessible by the public and not needed by the general public.
This also allows us (or just Zbatery) to more easily add support
systems without FD_CLOEXEC or fcntl, and also to optimize
away a fcntl call for systems that inherit FD_CLOEXEC.
lib/rainbows.rb
lib/rainbows/acceptor.rb [new file with mode: 0644]
lib/rainbows/event_machine.rb
lib/rainbows/fiber/rev.rb
lib/rainbows/fiber_pool.rb
lib/rainbows/fiber_spawn.rb
lib/rainbows/rev/core.rb
lib/rainbows/thread_pool.rb
lib/rainbows/thread_spawn.rb