Date: Mon, 10 Nov 2003 02:01:11 -0500 From: Craig Rodrigues <rodrigc@crodrigues.org> To: freebsd-threads@freebsd.org Subject: Comments about FreeBSD threading from Apache people Message-ID: <20031110070111.GA65707@crodrigues.org>
next in thread | raw e-mail | index | archive | help
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 <justin@erenkrantz.com> ----- X-Originating-IP: [216.220.40.247] Date: Sun, 09 Nov 2003 22:39:05 -0800 From: Justin Erenkrantz <justin@erenkrantz.com> To: Craig Rodrigues <rodrigc@crodrigues.org>, 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 <rodrigc@crodrigues.org> 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 -----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031110070111.GA65707>