Return-Path: X-Original-To: apmail-httpd-dev-archive@www.apache.org Delivered-To: apmail-httpd-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0FD1A9219 for ; Fri, 3 Feb 2012 13:03:12 +0000 (UTC) Received: (qmail 70140 invoked by uid 500); 3 Feb 2012 13:03:11 -0000 Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 69943 invoked by uid 500); 3 Feb 2012 13:03:09 -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 69935 invoked by uid 99); 3 Feb 2012 13:03:09 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Feb 2012 13:03:09 +0000 X-ASF-Spam-Status: No, hits=0.7 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [76.96.30.64] (HELO qmta07.emeryville.ca.mail.comcast.net) (76.96.30.64) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Feb 2012 13:02:59 +0000 Received: from omta03.emeryville.ca.mail.comcast.net ([76.96.30.27]) by qmta07.emeryville.ca.mail.comcast.net with comcast id VQv91i0010b6N64A7R2d6w; Fri, 03 Feb 2012 13:02:37 +0000 Received: from [192.168.199.10] ([69.251.91.46]) by omta03.emeryville.ca.mail.comcast.net with comcast id VR2b1i00g100q0d8PR2dq1; Fri, 03 Feb 2012 13:02:37 +0000 Content-Type: text/plain; charset=iso-8859-1 Mime-Version: 1.0 (Apple Message framework v1257) Subject: Re: mod_slotmem and mod_proxy_balancer/others on win32 (PR52402) From: Jim Jagielski In-Reply-To: <569B4920-DA17-40EA-A1C6-07F373015A14@jaguNET.com> Date: Fri, 3 Feb 2012 08:02:35 -0500 Content-Transfer-Encoding: 7bit Message-Id: <3EC5E127-354E-4AF9-A247-47BCDB2AA802@apache.org> References: <4F2BA7F7.2030101@apache.org> <569B4920-DA17-40EA-A1C6-07F373015A14@jaguNET.com> To: dev@httpd.apache.org X-Mailer: Apple Mail (2.1257) X-Virus-Checked: Checked by ClamAV on apache.org Under Win32, do the 2 processes know which is which? On Feb 3, 2012, at 5:46 AM, Jim Jagielski wrote: > > On Feb 3, 2012, at 4:25 AM, Mladen Turk wrote: > >> Hi, >> >> mod_slotmem cannot work on windows by design. >> >> On windows we have two processes so the storage->grab/slotmem_grab >> will always fail because the inuse flag was already set in the parent, >> and since this is shared memory child will see it as used. >> On unixes fork is used so the inuse is set only once. >> > > I'm trying to understand this... how is this different from any of > the other mpms which also have at least 2 processes? >