Rainbows! Rack HTTP server user/dev discussion
 help / color / mirror / code / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download mbox.gz: |
* [PATCH 3/1] base: fix constant resolution under 1.8 for 1.8 bugfix
       [not found]         ` <20091222205008.GA11119-yBiyF41qdooeIZ0/mPfg9Q@public.gmane.org>
@ 2009-12-22 21:34  7%       ` Eric Wong
  0 siblings, 0 replies; 1+ results
From: Eric Wong @ 2009-12-22 21:34 UTC (permalink / raw)
  To: rainbows-talk-GrnCvJ7WPxnNLxjTenLetw

---
 Oops :x

 lib/rainbows/base.rb |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/lib/rainbows/base.rb b/lib/rainbows/base.rb
index 20c7681..a29a5bb 100644
--- a/lib/rainbows/base.rb
+++ b/lib/rainbows/base.rb
@@ -17,7 +17,7 @@ module Rainbows
       # avoid spurious wakeups and blocking-accept() with 1.8 green threads
       if RUBY_VERSION.to_f < 1.9
         require "io/nonblock"
-        LISTENERS.each { |l| l.nonblock = true }
+        HttpServer::LISTENERS.each { |l| l.nonblock = true }
       end
 
       # we're don't use the self-pipe mechanism in the Rainbows! worker
-- 
Eric Wong
_______________________________________________
Rainbows! mailing list - rainbows-talk-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org
http://rubyforge.org/mailman/listinfo/rainbows-talk
Do not quote signatures (like this one) or top post when replying


^ permalink raw reply related	[relevance 7%]

Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2009-12-21 22:10     possible ThreadSpawn + Ruby 1.8 issues Eric Wong
2009-12-22  0:54     ` [PATCH] possible MRI 1.8 thread fix to avoid blocking accept() Eric Wong
2009-12-22 20:50       ` [PATCH 2/1] fix Ruby 1.8 detection for (possible) green thread fix Eric Wong
     [not found]         ` <20091222205008.GA11119-yBiyF41qdooeIZ0/mPfg9Q@public.gmane.org>
2009-12-22 21:34  7%       ` [PATCH 3/1] base: fix constant resolution under 1.8 for 1.8 bugfix Eric Wong

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).