From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on dcvr.yhbt.net X-Spam-Level: * X-Spam-ASN: AS14383 205.234.109.0/24 X-Spam-Status: No, score=1.0 required=3.0 tests=AWL,HK_RANDOM_FROM, MSGID_FROM_MTA_HEADER shortcircuit=no autolearn=no version=3.3.2 Path: news.gmane.org!not-for-mail From: Eric Wong Newsgroups: gmane.comp.lang.ruby.rainbows.general Subject: possible ThreadSpawn + Ruby 1.8 issues Date: Mon, 21 Dec 2009 14:10:02 -0800 Message-ID: <20091221221002.GA12277@dcvr.yhbt.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1261433415 17460 80.91.229.12 (21 Dec 2009 22:10:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 21 Dec 2009 22:10:15 +0000 (UTC) To: rainbows-talk-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org Original-X-From: rainbows-talk-bounces-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org Mon Dec 21 23:10:08 2009 Return-path: Envelope-to: gclrrg-rainbows-talk@m.gmane.org X-Original-To: rainbows-talk-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org Delivered-To: rainbows-talk-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org Content-Disposition: inline User-Agent: Mutt/1.5.18 (2008-05-17) X-BeenThere: rainbows-talk-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: rainbows-talk-bounces-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org Errors-To: rainbows-talk-bounces-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org Xref: news.gmane.org gmane.comp.lang.ruby.rainbows.general:52 Archived-At: Received: from rubyforge.org ([205.234.109.19]) by lo.gmane.org with esmtp (Exim 4.50) id 1NMqS6-0003HG-Tg for gclrrg-rainbows-talk@m.gmane.org; Mon, 21 Dec 2009 23:10:07 +0100 Received: from rubyforge.org (rubyforge.org [127.0.0.1]) by rubyforge.org (Postfix) with ESMTP id 58F51185826F; Mon, 21 Dec 2009 17:10:06 -0500 (EST) Received: from dcvr.yhbt.net (dcvr.yhbt.net [64.71.152.64]) by rubyforge.org (Postfix) with ESMTP id 5E1F1185826F for ; Mon, 21 Dec 2009 17:10:03 -0500 (EST) Received: from localhost (unknown [127.0.2.5]) by dcvr.yhbt.net (Postfix) with ESMTP id 980B01F518; Mon, 21 Dec 2009 22:10:02 +0000 (UTC) Anybody else using this combination? If you are, please let us know if you have any problems with it or even if it's been working great. I've heard (privately) about issues with accept() somehow blocking the entire worker process under 1.8. Obviously this really should not happen, but I'm unable to reproduce it myself. Exact details would be most helpful: * minor version, patchlevel, distribution of Ruby 1.8 * architecture (green threads may behave differently on 32 vs 64-bit) * outside patches applied (REE, MBARI, zero-copy context-switch, ...) * ./configure options (--{disable,enable}-pthread, ...) * application/gems that use threading features internally (includes any uses of the 'timeout' library, which Net::HTTP uses). * Rainbows! version Unfortunately, there are also IO.select bugs to worry about, too: http://www.daniel-azuma.com/blog/view/z2ysbx0e4c3it9/ruby_1_8_7_io_select_threading_bug http://redmine.ruby-lang.org/issues/show/1484 Even though we believe it's bad policy to workaround bugs when they're fixable, 1.8 users (as evidenced by still using 1.8 :P) can be slow to upgrade and we'll tolerate workarounds to make ThreadSpawn acceptable under 1.8 since it's mainly designed with 1.8 in mind. -- 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