[PATCH 1/4] Use high-resolution timebases for select().
Fri May 20 11:20:00 GMT 2016
On May 18 19:14, firstname.lastname@example.org wrote:
> From: John Hood <email@example.com>
> * select.h: Change prototype for select_stuff::wait() for larger
> microsecond timeouts.
> * select.cc (pselect): Convert from old cygwin_select().
> Implement microsecond timeouts.
> (cygwin_select): Rewrite as a wrapper on pselect().
> (select): Implement microsecond timeouts.
> (select_stuff::wait): Implement microsecond timeouts with a timer
I was just about applying this patch when I noticed a problem. It's not
a biggy, but you're using standard printf format specifiers while our
debug printf statements use a somewhat different set, i.e:
> + select_printf ("to NULL, us %lld", us);
There's no %lld in our debug printf stuff. That would have to be %D
with uppercase D.
Have a look at smallprint.cc line 94ff, please.
I fixed that locally and applied your patches, excluding the debug
additions from patch 3 for now.
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Maintainer cygwin AT cygwin DOT com
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 819 bytes
Desc: not available
More information about the Cygwin-patches