Return-Path: X-Original-To: apmail-apr-dev-archive@www.apache.org Delivered-To: apmail-apr-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 BDF93109AB for ; Tue, 27 May 2014 16:02:08 +0000 (UTC) Received: (qmail 27601 invoked by uid 500); 27 May 2014 16:02:08 -0000 Delivered-To: apmail-apr-dev-archive@apr.apache.org Received: (qmail 27499 invoked by uid 500); 27 May 2014 16:02:08 -0000 Mailing-List: contact dev-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Id: Delivered-To: mailing list dev@apr.apache.org Received: (qmail 27491 invoked by uid 99); 27 May 2014 16:02:08 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 May 2014 16:02:08 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy includes SPF record at spf.trusted-forwarder.org) Received: from [76.96.30.96] (HELO qmta09.emeryville.ca.mail.comcast.net) (76.96.30.96) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 May 2014 16:02:02 +0000 Received: from omta12.emeryville.ca.mail.comcast.net ([76.96.30.44]) by qmta09.emeryville.ca.mail.comcast.net with comcast id 735g1o0050x6nqcA941ibL; Tue, 27 May 2014 16:01:42 +0000 Received: from [192.168.199.10] ([69.251.80.74]) by omta12.emeryville.ca.mail.comcast.net with comcast id 741g1o0061cCKD98Y41hSx; Tue, 27 May 2014 16:01:42 +0000 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.2\)) Subject: Re: apr_skiplist (current) implementation wrt mpm_event (timers, keepalives?) From: Jim Jagielski In-Reply-To: Date: Tue, 27 May 2014 11:12:54 -0400 Cc: apr Content-Transfer-Encoding: 7bit Message-Id: References: <2294416A-D0CE-4DC4-9950-E3CD41B1840B@jaguNET.com> <1988EA1D-808C-486A-BE16-4C46B0613044@jaguNET.com> To: Yann Ylavic X-Mailer: Apple Mail (2.1878.2) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=q20140121; t=1401206502; bh=lGf9yN7NT4O57fUMFUT7T68aH8iQb+Pa3wygwG2B86I=; h=Received:Received:Content-Type:Mime-Version:Subject:From:Date: Message-Id:To; b=wpYmJdKWivltImglm5WXXyMzTxEj7EUqVuBn/q1c3HGBal/euU0vFkhwtXhXpZ2g7 QPoDzCO0AiOEwza4elmdsfM2kiKvkuZvIVHKmjfB+44gHAMAuCJml0a9rR32LCIjSz OPYHzxA/BFxvlKrd2n4dcbH+qdY0riHRCdM33tQpwjwq+pqiUUo282WnMDEFYGFycH 75dk+sl7fT3tmXkSiz7yGtBqxEWNTOb+MU7neIaCkyJkf2gVPe+1aqJOCRzv1Dfke3 kOuE1kGbc8oDBhASkF11TlwM23d7hNjxss3fhDKi6RMxE0cdPVE12IYQU2tCyYcxsL TV/W2GcSVGe/A== X-Virus-Checked: Checked by ClamAV on apache.org But that would change behavior, which we really shouldn't do. On May 27, 2014, at 11:01 AM, Yann Ylavic wrote: > On Tue, May 27, 2014 at 4:21 PM, Jim Jagielski wrote: >> Check out r1597797 >> >> If OK, we can backport to 1.6 > > I would have preferred skiplist_insert() == skiplist_add(), since it > seems to be needed by mpm_event (unless we require APR 1.6 for > httpd-2.4.x). > But I guess it's a (behaviour) change which is not acceptable in APR. > Is there any other apr_skiplist user other than httpd though? > > Otherwise I find the "replace" name a bit misleading, the previous > value seems to be preserved instead (the new one being ignored). > However the replace implementation looks non trivial, it would require > to replace the duplicated (stacked) entries as well (void *data => > void **data?)... >