Return-Path: Delivered-To: apmail-httpd-dev-archive@www.apache.org Received: (qmail 705 invoked from network); 10 Oct 2008 14:32:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 10 Oct 2008 14:32:20 -0000 Received: (qmail 19567 invoked by uid 500); 10 Oct 2008 14:32:15 -0000 Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 19521 invoked by uid 500); 10 Oct 2008 14:32:15 -0000 Mailing-List: contact dev-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list dev@httpd.apache.org Received: (qmail 19512 invoked by uid 99); 10 Oct 2008 14:32:15 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Oct 2008 07:32:15 -0700 X-ASF-Spam-Status: No, hits=2.1 required=10.0 tests=DNS_FROM_SECURITYSAGE,HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of ames.greg@gmail.com designates 74.125.44.152 as permitted sender) Received: from [74.125.44.152] (HELO yx-out-1718.google.com) (74.125.44.152) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Oct 2008 14:31:12 +0000 Received: by yx-out-1718.google.com with SMTP id 3so197603yxi.84 for ; Fri, 10 Oct 2008 07:31:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type:references; bh=uLximnjX3+VvYDcJRsqBvvGacy7y7sq4hMysXG6XpUg=; b=IjsgAho3RLwYqf3l+t7FQ/jOmVQr5Dx48HHpLa7SlyqnMzRTrtvLvt4gMvrTuGyURa uukRDDNoYSsCtH1Vu9wYfgO2RjZqixSYcb7ZY2cPtJ/1j0WZsLv14D7EWuzQ+x7QDd0/ SbNf7KmToQYixGwxAqEynDAOYFKpY/dQKNxWk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:references; b=dmZ0b7h1bqro9fQw2NpghY+Vv8QUVlYd2qLdkQEP8uu0stcynY+p4XQk93YQObcEMO P96eC+4iYMZIbgjnUTDtfxpjhy8cWcKeM7ZIHeQdWFeMj6sQb8VEX6rJlWedzKlvteFZ tG0DSjm2emsDjxQgMdOpWqud/4lFZaFSBCHQM= Received: by 10.103.22.11 with SMTP id z11mr1093950mui.106.1223649089098; Fri, 10 Oct 2008 07:31:29 -0700 (PDT) Received: by 10.103.224.6 with HTTP; Fri, 10 Oct 2008 07:31:29 -0700 (PDT) Message-ID: Date: Fri, 10 Oct 2008 10:31:29 -0400 From: "Greg Ames" To: dev@httpd.apache.org Subject: Re: PR45605 and event MPM In-Reply-To: <48EE77C6.3010305@apache.org> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_114834_3841352.1223649089080" References: <48EBEAB2.1090405@apache.org> <48EE77C6.3010305@apache.org> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_114834_3841352.1223649089080 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline On Thu, Oct 9, 2008 at 5:29 PM, Ruediger Pluem wrote: > Does anybody see problems with this or are we still too worried about > the correct handling of signed vs. unsigned variables by apr_atomic_XXXX > to use this in a non experimental MPM? signed vs unsigned doesn't bother me. However, we should consider the lack of APR native atomic support on various platforms by default. I think we still have to say --enable-nonportable-atomics to get a native compare & swap type operation on x86 + gcc, maybe also on SPARC. But is it rational to worry about supporting 386s with binary distributions in 2008? dunno about the SPARC market. This wasn't a concern for Event because it is experimental. I will take a look at the APR atomics and see if the operations that Event's fdqueue is using are less supported than the atomics used in worker. Greg ------=_Part_114834_3841352.1223649089080 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline
On Thu, Oct 9, 2008 at 5:29 PM, Ruediger Pluem <rpluem@apache.org> wrote:
 
Does anybody see problems with this or are we still too worried about
the correct handling of signed vs. unsigned variables by apr_atomic_XXXX
to use this in a non experimental MPM?

signed vs unsigned doesn't bother me.  However, we should consider the lack of APR native atomic support on various platforms by default.  I think we still have to say --enable-nonportable-atomics to get a native compare & swap type operation on x86 + gcc, maybe also on SPARC.  But is it rational to worry about supporting 386s with binary distributions in 2008?  dunno about the SPARC market.  This wasn't a concern for Event because it is experimental.

I will take a look at the APR atomics and see if the operations that Event's fdqueue is using are less supported than the atomics used in worker. 

Greg


------=_Part_114834_3841352.1223649089080--