Return-Path: Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 64255 invoked by uid 500); 20 Sep 2001 02:52: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: Delivered-To: mailing list dev@httpd.apache.org Received: (qmail 64241 invoked from network); 20 Sep 2001 02:52:14 -0000 Content-Type: text/plain; charset="iso-8859-1" From: Ryan Bloom Reply-To: rbb@covalent.net Organization: Covalent Technologies To: dev@httpd.apache.org, Justin Erenkrantz Subject: Re: [PATCH] Standardize AcceptMutex config Date: Wed, 19 Sep 2001 19:53:47 -0700 X-Mailer: KMail [version 1.3] References: <20010919194017.M12417@ebuilt.com> In-Reply-To: <20010919194017.M12417@ebuilt.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <20010920025347.5A6D146DFC@koj.rkbloom.net> X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N On Wednesday 19 September 2001 07:40 pm, Justin Erenkrantz wrote: > Calling the AcceptMutex proc_pthread is just silly. 1.3 got it > right by calling it pthread. > > This would also be one less thing for a person who uses this new > feature in 1.3 to change when they upgrade to 2.0. > > Would anyone raise a fit if I committed this? -- justin Why is calling it proc_pthread silly? We are talking about a pthread based process lock. Personally, I think Apache 1.3 should be changed, especially since it hasn't been released yet. My concern is that calling it a pthread lock makes it sound like we are just locking threads. Ryan > Index: server/mpm_common.c > =================================================================== > RCS file: /home/cvs/httpd-2.0/server/mpm_common.c,v > retrieving revision 1.67 > diff -u -r1.67 mpm_common.c > --- server/mpm_common.c 2001/09/18 22:13:57 1.67 > +++ server/mpm_common.c 2001/09/20 02:29:39 > @@ -604,7 +604,7 @@ > } > #endif > #if APR_HAS_PROC_PTHREAD_SERIALIZE > - else if (!strcasecmp(arg, "proc_pthread")) { > + else if (!strcasecmp(arg, "pthread")) { > ap_accept_lock_mech = APR_LOCK_PROC_PTHREAD; > } > #endif > @@ -621,7 +621,7 @@ > ", sysvsem" > #endif > #if APR_HAS_PROC_PTHREAD_SERIALIZE > - ", proc_pthread" > + ", pthread" > #endif > , NULL); > } -- ______________________________________________________________ Ryan Bloom rbb@apache.org Covalent Technologies rbb@covalent.net --------------------------------------------------------------