Return-Path: Delivered-To: apmail-httpd-dev-archive@www.apache.org Received: (qmail 70751 invoked from network); 24 Nov 2009 18:59:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 24 Nov 2009 18:59:17 -0000 Received: (qmail 9865 invoked by uid 500); 24 Nov 2009 18:59:16 -0000 Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 9769 invoked by uid 500); 24 Nov 2009 18:59: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 9760 invoked by uid 99); 24 Nov 2009 18:59:15 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Nov 2009 18:59:15 +0000 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [64.202.165.99] (HELO smtpauth05.prod.mesa1.secureserver.net) (64.202.165.99) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 24 Nov 2009 18:59:05 +0000 Received: (qmail 18500 invoked from network); 24 Nov 2009 18:58:42 -0000 Received: from unknown (76.252.112.72) by smtpauth05.prod.mesa1.secureserver.net (64.202.165.99) with ESMTP; 24 Nov 2009 18:58:41 -0000 Message-ID: <4B0C2CD8.7060402@rowe-clan.net> Date: Tue, 24 Nov 2009 12:58:32 -0600 From: "William A. Rowe Jr." User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: dev@httpd.apache.org Subject: Re: svn commit: r883712 - /httpd/httpd/trunk/docs/manual/mod/core.xml References: <20091124145404.061F823888DC@eris.apache.org> <4B0C0F84.20800@rowe-clan.net> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Jeff Trawick wrote: > > What about an optional third argument to Mutex to indicate that the > pid should be omitted? > > Mutex default sysvsem > Mutex ssl-cache file:/mnt/sesscachedir OmitPid > etc. That seems sensible, but I'm left wondering how many different naming conventions we can fit on one directive line. Perhaps bOmitPID instead ;-) This really becomes harder to follow than the existing multiple-syntaxes. Is there any reason not to name these mutexes in MixedCase? Is there any reason we can't invert the arg order, so that we have Mutex mutextype:name Resource [Resource ...] [OmitPid] Of course, default could be assumed here. So the above becomes Mutex SysVSem Mutex file:/mnt/sesscachedir SSLSessionCache OmitPid (note the Resource tag can be the actual directive being mutexed, instead of an alt-name). Thoughts? > In the ssl-cache example, the name of the mutex will be simply > /mnt/sesscachedir/ssl-cache > > Does that meet the special SSLMutex requirement? Well, it's not strictly SSLMutex, but any other shared-resource that requires cross process/cross machine mutexing.