delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2018/11/30/07:44:19

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:references:in-reply-to:from:date
:message-id:subject:to:content-type; q=dns; s=default; b=c9BdlIy
IkY1lpF3qo9aogeE22K0B+ZHSA5zfYyTIru+FOHf6TvsjEjYocAu1w/u6JMitu5G
pvV9F5bY00jgnx4wGrrSqdzpzIYH2UBu3i3wPj2r8nRbdehZXtiVOR7udHBm4BW5
TFoi4lX4Yc0HjTGeV71oItrVzAi20OE7IVt8=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:references:in-reply-to:from:date
:message-id:subject:to:content-type; s=default; bh=twkLNUEfubqMv
TKRtx2slYwSEfs=; b=oBN/hOvPrZYP0WEko4tUZRqkPcoyZ85xg+la9+SRphwaC
qthrKHY9SXUvg7oY/30Odl37vILxcShLlR7tKv9QCZpGV3a0AL4wKn5cXYzzPnxY
FzpyhX5sNg4+L5vNivqXqvZp8DbTd6nPU8qYr1a8eNjfPi01HwME0d97qIpZ9o=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Spam-SWARE-Status: No, score=-9.9 required=5.0 tests=BAYES_00,ENV_AND_HDR_SPF_MATCH,SPF_PASS,USER_IN_DEF_SPF_WL autolearn=ham version=3.3.2 spammy=Hx-languages-length:699, uploaded
X-HELO: mail.apache.org
MIME-Version: 1.0
References: <CAOWZHxdTpDD6LLVctvjFQWqQMd9cex7pp-s1YYaMAdtGECy3Yw AT mail DOT gmail DOT com> <20181126153545 DOT GM30649 AT calimero DOT vinschen DOT de> <CAOWZHxdmOeQ7o6099PERwq-FbFbdYLLm43JfR5iQm-HtfP90aw AT mail DOT gmail DOT com> <20181126164657 DOT GN30649 AT calimero DOT vinschen DOT de> <20181129101821 DOT GZ30649 AT calimero DOT vinschen DOT de> <CAOWZHxf+en-Nw20jOeeBu-TXBio07ai5ecJk2bvWDPtD0vqKFQ AT mail DOT gmail DOT com> <20181130121429 DOT GF30649 AT calimero DOT vinschen DOT de>
In-Reply-To: <20181130121429.GF30649@calimero.vinschen.de>
From: "James E. King III" <jking AT apache DOT org>
Date: Fri, 30 Nov 2018 07:43:51 -0500
Message-ID: <CAOWZHxes9wDz-Jsd4EpJAHaEUiJYais11aDFRzLVafVGzzZwqw@mail.gmail.com>
Subject: Re: pthread_cond_timedwait with setclock(CLOCK_MONOTONIC) times out early
To: cygwin AT cygwin DOT com

On Fri, Nov 30, 2018 at 7:23 AM Corinna Vinschen
<corinna-cygwin AT cygwin DOT com> wrote:
>
> On Nov 29 17:38, James E. King III wrote:
> > On Thu, Nov 29, 2018 at 5:18 AM Corinna Vinschen
> > > I created a patch and uploaded new developer snapshots to
> > > https://cygwin.com/snapshots/  Please give them a try.
> >
> > This fixed the issue for me.  What's the best way to detect cygwin
> > with this support?
>
> This will show up in version 2.12.0(*) so checking the release field
> from uname(2) should do the trick.

Is there a programmatic way to check this without having to parse a
bunch of char[20] from utsname.h?

- Jim

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019