pthread_cond_timedwait with setclock(CLOCK_MONOTONIC) times out early

James E. King III jking@apache.org
Fri Nov 30 12:44:00 GMT 2018


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



More information about the Cygwin mailing list