Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id B3C5A200C48 for ; Thu, 6 Apr 2017 21:46:11 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id B2510160B91; Thu, 6 Apr 2017 19:46:11 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 06462160B81 for ; Thu, 6 Apr 2017 21:46:10 +0200 (CEST) Received: (qmail 95968 invoked by uid 500); 6 Apr 2017 19:46:10 -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 95957 invoked by uid 99); 6 Apr 2017 19:46:10 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Apr 2017 19:46:10 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 979B01A048B for ; Thu, 6 Apr 2017 19:46:09 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -2.044 X-Spam-Level: X-Spam-Status: No, score=-2.044 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-2.796, SPF_NEUTRAL=0.652] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id QnmqtsH1LDgy for ; Thu, 6 Apr 2017 19:46:07 +0000 (UTC) Received: from resqmta-ch2-06v.sys.comcast.net (resqmta-ch2-06v.sys.comcast.net [69.252.207.38]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id F01395F2FE for ; Thu, 6 Apr 2017 19:46:06 +0000 (UTC) Received: from resomta-ch2-01v.sys.comcast.net ([69.252.207.97]) by resqmta-ch2-06v.sys.comcast.net with SMTP id wDLzcl1EDl4eqwDM0c4Dmy; Thu, 06 Apr 2017 19:46:00 +0000 Received: from [172.25.247.178] ([199.244.219.64]) by resomta-ch2-01v.sys.comcast.net with SMTP id wDJrc5bWZY10NwDJuc4JtU; Thu, 06 Apr 2017 19:43:58 +0000 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: svn commit: r1790105 - in /apr/apr/branches/1.6.x: locks/unix/misc.c locks/unix/proc_mutex.c locks/unix/thread_mutex.c test/testlock.c From: Jim Jagielski In-Reply-To: Date: Thu, 6 Apr 2017 15:43:46 -0400 Cc: apr-dev Content-Transfer-Encoding: quoted-printable Message-Id: <9582C16C-FD42-4024-9D8C-913F71EEED85@jaguNET.com> References: <20170404130903.8844D3A05CD@svn01-us-west.apache.org> <9DB5F466-AAE0-42A1-ADE9-A96AD48A1C58@jaguNET.com> <30603077-6dea-9f59-9b47-17d99d4e3451@apache.org> <62931933-0659-ac8d-9b60-d2161607e07a@apache.org> <4b9e1343-2925-ac09-9dfd-a02b2ef85fc7@apache.org> <56e1d3ea-76c9-614a-4c41-7a3656e3abe1@apache.org> To: Yann Ylavic X-Mailer: Apple Mail (2.3273) X-CMAE-Envelope: MS4wfJRdVvL1GgvnCBUQLtI3mmgtMDC+cbwyko3FZmhicnvRUrE02pgDcoyDETkK6JBAaCciEP40dvgG3RNdPq3pqng6vX2pK6O6jojK2wca6utjOl3SU/Td BtzhNZvrNSzTY28VfMmkORQ7jpSQiOoHAOB4JXQkeIl5GuwYFtZoXoqh1GwY+4LrYSLHuCsjSyR4hmTUgdQoLrPZgmWr3wSFvNs= archived-at: Thu, 06 Apr 2017 19:46:11 -0000 As of HEAD on apr-trunk, all tests pass fine on OSX. Plus: ./include/arch/unix/apr_private.h:#define = HAVE_PTHREAD_CONDATTR_SETPSHARED 1 So I'm +1 for backporting to 1.6! > On Apr 6, 2017, at 2:49 PM, Yann Ylavic wrote: >=20 > On Thu, Apr 6, 2017 at 1:40 PM, Jim Jagielski wrote: >> apr-trunk (r1790379): >> % ./testall -v testprocmutex >> testprocmutex : -Line 189: Locks don't appear to work with = timedlock >> -flock_timedlock() not implemented,/Line 189: Locks don't appear to = work with timedlock >> -Line 189: Locks don't appear to work with timedlock >> -fcntl_timedlock() not implemented,-Line 133: create the mutex >> /default_timed_timedlock() not implemented,-Line 172: Default timed = timedlock not implemented >> FAILED 4 of 6 >> Failed Tests Total Fail Failed % >> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D >> testprocmutex 6 4 66.67% >>=20 >> apr-1.6 (r1790305): >> % ./testall -v testprocmutex >> testprocmutex : -flock_timedlock() not implemented,-Line 194: = Locks don't appear to work with timedlock >> -fcntl_timedlock() not implemented,FAILED 1 of 6 >> Failed Tests Total Fail Failed % >> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D >> testprocmutex 6 1 16.67% >>=20 >> we seem to be going backwards (apr-trunk includes the fallback) >> since now we lost default_timed_timedlock() >=20 > I tried to not modify the other (non PROC_PTHREAD) mechanisms = normally. > Could it be, e.g., r1790303 (which is not in 1.6.x either)? >=20 > Anyway, I just commited another fallback (r1790436), could you please > test this version on OSX? > If pshared mutex+cond still do not work as expected on OSX, maybe we > could un-configure it (i.e. ac_have_pthread_condattr_setpshared=3D"no") > and let it fall through the new generic fallback...