From 40cf3eb79054caa4b7d81120a736491aca8259eb Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Thu, 28 Apr 2011 18:42:46 +0000 Subject: document epoll and xepoll They're probably ready for general use in a very limited capacity... --- lib/rainbows/xepoll.rb | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'lib/rainbows/xepoll.rb') diff --git a/lib/rainbows/xepoll.rb b/lib/rainbows/xepoll.rb index 3a02b46..2b38900 100644 --- a/lib/rainbows/xepoll.rb +++ b/lib/rainbows/xepoll.rb @@ -1,13 +1,13 @@ # -*- encoding: binary -*- -# :enddoc: require 'raindrops' require 'rainbows/epoll' -# Edge-triggered epoll concurrency model with blocking accept() in -# a (hopefully) native thread. This is recommended over Epoll for -# Ruby 1.9 users as it can workaround accept()-scalability issues -# on multicore machines. +# Edge-triggered epoll concurrency model with blocking accept() in a +# (hopefully) native thread. This is just like Epoll, but recommended +# for Ruby 1.9 users as it can avoid accept()-scalability issues on +# multicore machines with many worker processes. module Rainbows::XEpoll + # :stopdoc: include Rainbows::Base autoload :Client, 'rainbows/xepoll/client' @@ -21,4 +21,5 @@ module Rainbows::XEpoll init_worker_process(worker) Client.run end + # :startdoc: end -- cgit v1.2.3-24-ge0c7