From owner-freebsd-threads@FreeBSD.ORG Sun Nov 9 22:59:20 2003 Return-Path: Delivered-To: freebsd-threads@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B591D16A4CE for ; Sun, 9 Nov 2003 22:59:20 -0800 (PST) Received: from h00609772adf0.ne.client2.attbi.com (h00609772adf0.ne.client2.attbi.com [66.31.45.197]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8ACA643F75 for ; Sun, 9 Nov 2003 22:59:19 -0800 (PST) (envelope-from rodrigc@crodrigues.org) Received: from h00609772adf0.ne.client2.attbi.com (localhost.crodrigues.org [127.0.0.1])hAA71BD7065747 for ; Mon, 10 Nov 2003 02:01:12 -0500 (EST) (envelope-from rodrigc@h00609772adf0.ne.client2.attbi.com) Received: (from rodrigc@localhost)hAA71BR4065746 for freebsd-threads@freebsd.org; Mon, 10 Nov 2003 02:01:11 -0500 (EST) (envelope-from rodrigc) Date: Mon, 10 Nov 2003 02:01:11 -0500 From: Craig Rodrigues To: freebsd-threads@freebsd.org Message-ID: <20031110070111.GA65707@crodrigues.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i Subject: Comments about FreeBSD threading from Apache people X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Nov 2003 06:59:20 -0000 Hi, I tried to submit a patch to teh Apache Portable Runtime people to fix up the threads support in apr. Now, they are complaining about perceived bugs in the FreeBSD threads code. Can someone with more knowledge about this stuff comment on these perceptions? -- Craig Rodrigues http://crodrigues.org rodrigc@crodrigues.org ----- Forwarded message from Justin Erenkrantz ----- X-Originating-IP: [216.220.40.247] Date: Sun, 09 Nov 2003 22:39:05 -0800 From: Justin Erenkrantz To: Craig Rodrigues , dev@apr.apache.org Subject: Re: [PATCH] FreeBSD threads configure support In-Reply-To: <20031109234157.GA58055@crodrigues.org> X-Mailer: Mulberry/3.1.0 (Mac OS X) X-Spam-Status: No, hits=0.0 required=5.0 tests=none autolearn=no version=2.70-cvs X-Spam-Checker-Version: SpamAssassin 2.70-cvs (1.217-2003-10-04-exp) on scotch.ics.uci.edu --On Sunday, November 9, 2003 6:41 PM -0500 Craig Rodrigues wrote: >I am the maintainer of the FreeBSD port of apr. > >Here is a patch that updates the configury checks for >pthread flags in FreeBSD. Have the threading/cond-var/socket race conditions been fixed in FreeBSD? That is, does worker MPM from httpd-2.x function properly with multiple clients and multiple processes? We've seen that the pthread condition variables did not function properly when threading was enabled - this is why we had APR_SETIFNULL(enable_threads, [no]) as we were not confident in FreeBSD's reliability with threads. Please see STATUS entries in httpd-2.x regarding this. Until that is confirmed, I'd highly recommend *not* enabling threads in FreeBSD - last we heard was that FreeBSD 4.x and 5.x were still broken. -- justin ----- End forwarded message -----