www.delorie.com/archives/browse.cgi | search |
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:date:from:to:subject:message-id:reply-to | |
:references:mime-version:content-type:in-reply-to; q=dns; s= | |
default; b=LQG31gOyi6+10fOLHclc9c+wEr//fvpJWJjz4wA9SJJIQmr52byzv | |
dsekg9xncqXhY8e2tPvC/ijaU/Tqd2mRkzjLzCxU4NfYUOVzF7P/AJ2P6aqoGZ7R | |
Tojl15R4Nf5v3/55Kct0t/EWxGM+kgxsN4xeRNyPwxPMjUuYNqXw7s= | |
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:date:from:to:subject:message-id:reply-to | |
:references:mime-version:content-type:in-reply-to; s=default; | |
bh=9/VK/A+OxamJHcnf3C7rqyQxJyA=; b=szveCgpwxuu/LYRmQtj45OSGiy2H | |
fyjw2Myxa1ifnbRF/9GfcbTpXxmoTON3f9pLwAW5cmukqjpjZiutb4XH7L3luowh | |
QFqZ/67t8mm2z3YjtkJq2oEOd/TMG3ED/7CgLBlkCpb42SXTH3jCBCjcDMpjBtAs | |
GF5VDHstUqOZDM4= | |
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=-98.2 required=5.0 tests=BAYES_50,GOOD_FROM_CORINNA_CYGWIN,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 spammy=2.11.2, UD:debian.org, 20181108, home_url |
X-HELO: | mout.kundenserver.de |
Date: | Sat, 1 Dec 2018 10:53:22 +0100 |
From: | Corinna Vinschen <corinna-cygwin AT cygwin DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: pthread_cond_timedwait with setclock(CLOCK_MONOTONIC) times out early |
Message-ID: | <20181201095322.GN30649@calimero.vinschen.de> |
Reply-To: | cygwin AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
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> <CAOWZHxes9wDz-Jsd4EpJAHaEUiJYais11aDFRzLVafVGzzZwqw AT mail DOT gmail DOT com> <20181130125633 DOT GH30649 AT calimero DOT vinschen DOT de> <5b0bcf7f-096d-c259-ce25-9511d4bccf84 AT SystematicSw DOT ab DOT ca> |
MIME-Version: | 1.0 |
In-Reply-To: | <5b0bcf7f-096d-c259-ce25-9511d4bccf84@SystematicSw.ab.ca> |
User-Agent: | Mutt/1.9.2 (2017-12-15) |
--/Y6L//1es8ezVqBy Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Nov 30 21:27, Brian Inglis wrote: > On 2018-11-30 05:56, Corinna Vinschen wrote: > > On Nov 30 07:43, James E. King III wrote: > >> On Fri, Nov 30, 2018 at 7:23 AM Corinna Vinschen wrote: > >>> On Nov 29 17:38, James E. King III wrote: > >>>> On Thu, Nov 29, 2018 at 5:18 AM Corinna Vinschen wrote: > >>>>> 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? > > How would you do this on Linux? >=20 > Same: > https://stackoverflow.com/questions/46280456/check-kernel-version-at-runt= ime-in-c >=20 > - read /proc/version which is generated from utsname fields (or vice vers= a) > using e.g fscanf >=20 > $ head /proc/version > CYGWIN_NT-10.0 version 2.11.2(0.329/5/3) (corinna AT calimero DOT vinschen DOT de) (= gcc > version 7.3.0 20180125 (Fedora Cygwin 7.3.0-2) (GCC) ) 2018-11-08 14:34 >=20 > - read (or source) /{etc,usr/lib}/os-release VERSION_ID line (or variable= ): >=20 > $ head /{etc,usr/lib}/os-release > =3D=3D> /etc/os-release <=3D=3D > PRETTY_NAME=3D"Debian GNU/Linux 9 (stretch)" > NAME=3D"Debian GNU/Linux" > VERSION_ID=3D"9" > VERSION=3D"9 (stretch)" > ID=3Ddebian > HOME_URL=3D"https://www.debian.org/" > SUPPORT_URL=3D"https://www.debian.org/support" > BUG_REPORT_URL=3D"https://bugs.debian.org/" >=20 > =3D=3D> /usr/lib/os-release <=3D=3D > ... [same] >=20 > Could also be supported under Cygwin: We don't have OS releases. Every component in Cygwin has its own release cycle and the version number of the Cygwin DLL is *not* a os release number. What sense would this file have for us? Corinna --=20 Corinna Vinschen Cygwin Maintainer --/Y6L//1es8ezVqBy Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEoVYPmneWZnwT6kwF9TYGna5ET6AFAlwCWhIACgkQ9TYGna5E T6DlXA/9GZR/CkqtjTOABNimeyGoYw9IGIm9ife7U7w/yXxLLKOCqyLispr/1o5a r2ae9Ynwt5rVu3eEA7WY8s/zGEH1HpwbAjXxvY4DmcrDJ3lDhynbnvXK+BT6eQxw Opo9nmJYF0eNZqD9SASEiPF86drwW+mmguZsl5qtOfTpyhbnBr8JOI1UTSlQb3BW tFq1Uw2NuYKhTNW4yTlqm5JzFT6dzR+JhZxyvXFdzoVGc39IEjARF/AfcgLHNp+S EdVKoN7bXlU15yyVmy4Fys8CRIVg4x/l6R0aCDTj55QnVyaH3MP4/8f79TrzG1Lp /9hODh+7S8t2m7Uv3vy7cSBGgkGbQ8HBroSMW3FUSc7tDo3/0K3fegOqGUI26ESq XjtngQBY9+GUf9CoBBUhwwFmf7KvXOG9+qVHnlqGN1faKVTLsgAm5fj8ZSAI1Zw8 pB9/Yorff+By6AjOjUrXdARSnIWlPaitJ6KdW/ZBI+9KJpV4bThrWC/kEPAjNAop GcE3o7QZW4CDWHWJAS3+DzZ4y3L9QIWBiMcx2g8OE5hjxBF9nmNTaZEgdG1xItuL DhHHWeFVjzFhJ92174EL6/XLS397paObFDIm7QnA1rGyFWDAQB5ndwam5rM+4c97 MQKzsOBe2UyxRmfK8oLz0H5FuKlWoUkpiZEODXG7EBQxnGUk/sA= =lgqA -----END PGP SIGNATURE----- --/Y6L//1es8ezVqBy--
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |