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 9E83D200C3C for ; Mon, 3 Apr 2017 23:52:42 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 9CF59160B8F; Mon, 3 Apr 2017 21:52:42 +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 E3AF8160B8D for ; Mon, 3 Apr 2017 23:52:41 +0200 (CEST) Received: (qmail 80690 invoked by uid 500); 3 Apr 2017 21:52:41 -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 80680 invoked by uid 99); 3 Apr 2017 21:52:41 -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; Mon, 03 Apr 2017 21:52:41 +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 70F571A0865 for ; Mon, 3 Apr 2017 21:52:40 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.379 X-Spam-Level: X-Spam-Status: No, score=0.379 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id Zy9YxfyZnfV5 for ; Mon, 3 Apr 2017 21:52:38 +0000 (UTC) Received: from mail-qt0-f173.google.com (mail-qt0-f173.google.com [209.85.216.173]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 675665F642 for ; Mon, 3 Apr 2017 21:52:38 +0000 (UTC) Received: by mail-qt0-f173.google.com with SMTP id i34so124798714qtc.0 for ; Mon, 03 Apr 2017 14:52:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=yD6pq+5KIzHHJzWVEwH7EzzYazU5MH2mMBfWO16Q8O4=; b=HVCbfgaEDudJB3hb7hHL+ycwvSnO/TaBAPtc00enWD5EOOsoSP+Cq8y+2pzfrJ26fW LK1LEStDuIbBUDBvuhhePXxhi/GaxDgkzuV8Qb57ppRbjYnIhpa063yZEqpoinWzuW6G C+CWoEg7BcWebUhZAJPvKZyIYVmrW5ugcE64A7+Uc1ZP8Pj9+SjYtVNgAw5Jv6Bsg10D kuIhm5ASImrPZxcCoz9fMAgWTFnsbgHp+PTyJ6osCMLWYvtrVgmhtLXRp2LKuZPb7T15 A3ybbVcCL140n1NxP7qtBIh7ly1xoEwBdmK6PXoYM2ktwB411HKGSk3bJbwvoIxLwktK uU6Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=yD6pq+5KIzHHJzWVEwH7EzzYazU5MH2mMBfWO16Q8O4=; b=qzVbuzVAfI9Ro6Sp2GlaA0l5QZEOSzXOapc35x+5LhPQb7YHHQRgHglGAr6LwNODP1 R3qPHYPcQyRwsEC57Cn0LiOev9AqHhxzv3q3U7ZZK8Ync01/CPxzHWSEu73VodFZN7L/ /xd4FE3oYiEJZegOc/NjzvMwrHAWhLLgA27Vgn4Bqca0iWO9mZLBZcoWi6oo1SFBwer+ 7Omstxr2PMMMhDy6vnNMFW7x18iplhR8Pa5YtKDzXNjgugi3RWD+cZn8PGx2PNUNEtjX yUY9333gSHfse350YhKU/BPDa49qT/aFGTSxb7QJt155nvxYqqCc72pscsiTANp3QMUA llGA== X-Gm-Message-State: AFeK/H1Mz8xoTSNXKF15PrxIlRLYqihiYdn1JsN67FFhIWOBuCfaTzLM+Rh/YgEyESQ/YGshGvte8dx7ET1THA== X-Received: by 10.200.34.144 with SMTP id f16mr20757936qta.186.1491256358049; Mon, 03 Apr 2017 14:52:38 -0700 (PDT) MIME-Version: 1.0 Received: by 10.55.200.155 with HTTP; Mon, 3 Apr 2017 14:52:37 -0700 (PDT) In-Reply-To: <463971D5-131D-42F9-B526-0E5A47E865A8@jaguNET.com> References: <81E71441-B01C-4817-85E1-56211503B556@jaguNET.com> <463971D5-131D-42F9-B526-0E5A47E865A8@jaguNET.com> From: Yann Ylavic Date: Mon, 3 Apr 2017 23:52:37 +0200 Message-ID: Subject: Re: Default Linux mutex method To: Jim Jagielski Cc: APR Developer List Content-Type: text/plain; charset=UTF-8 archived-at: Mon, 03 Apr 2017 21:52:42 -0000 On Mon, Apr 3, 2017 at 9:06 PM, Jim Jagielski wrote: > Considering the sad affair w/ pthread on OSX, I would > recommend we stay w/ using sems. pthread_cond_timedlock() is not really mandatory IMHO (we did not have it in 1.5.x), and anyway it's not implemented with any other mechanism either... If shared pthreads are robust and have no issues with latests Linux, BSDs (including MacOS) and Solaris, I think we should use them by default, and fall back to the current default for older versions (known to not work as expected) only.