X-Recipient: archive-cygwin@delorie.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@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.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@mail.gmail.com> <20181126153545.GM30649@calimero.vinschen.de> <CAOWZHxdmOeQ7o6099PERwq-FbFbdYLLm43JfR5iQm-HtfP90aw@mail.gmail.com> <20181126164657.GN30649@calimero.vinschen.de> <20181129101821.GZ30649@calimero.vinschen.de> <CAOWZHxf+en-Nw20jOeeBu-TXBio07ai5ecJk2bvWDPtD0vqKFQ@mail.gmail.com> <20181130121429.GF30649@calimero.vinschen.de>
In-Reply-To: <20181130121429.GF30649@calimero.vinschen.de>
From: "James E. King III" <jking@apache.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@cygwin.com
Content-Type: text/plain; charset="UTF-8"

On Fri, Nov 30, 2018 at 7:23 AM Corinna Vinschen
<corinna-cygwin@cygwin.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

