Re: [PATCH] Re: Cygwin select() issues and improvements

2016-05-18 Thread john hood
On 5/18/16 3:23 PM, Corinna Vinschen wrote: > Hi John, > > On May 8 16:43, john hood wrote: >> On 3/29/16 8:49 AM, Corinna Vinschen wrote: >>> John, ping? >> >> Sorry it took so long to reply, but I finally got around to cleaning up >> the patchset, I've mailed it separately. > > I don't see the

[PATCH 4/4] Miscellaneous style cleanup, whitespace only.

2016-05-18 Thread cgull
From: John Hood --- winsup/cygwin/select.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/winsup/cygwin/select.cc b/winsup/cygwin/select.cc index 9aa2833..b75393e 100644 --- a/winsup/cygwin/select.cc +++ b/winsup/cygwin/select.cc @@ -182,7 +182,7 @@ select (int maxfds,

[PATCH 3/4] Debug printfs.

2016-05-18 Thread cgull
From: John Hood * fhandler.cc (fhandler_base::get_readahead): Add debug code. * fhandler_console.cc (fhandler_console::read): Add debug code. * select.cc (pselect): Add debug code. (peek_console): Add debug code. --- winsup/cygwin/fhandler.cc | 1 + winsu

[PATCH 1/4] Use high-resolution timebases for select().

2016-05-18 Thread cgull
From: John Hood * 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. (

[PATCH 2/4] Improve and simplify select().

2016-05-18 Thread cgull
From: John Hood * select.h: Eliminate redundant select_stuff::select_loop state. * select.cc (select): Eliminate redundant select_stuff::select_loop state. Eliminate redundant code for zero timeout. Do not return early on early timer return. (select_stuff::wait): Eliminate redundant sel

Re: [PATCH] Re: Cygwin select() issues and improvements

2016-05-18 Thread Corinna Vinschen
Hi John, On May 8 16:43, john hood wrote: > On 3/29/16 8:49 AM, Corinna Vinschen wrote: > > John, ping? > > Sorry it took so long to reply, but I finally got around to cleaning up > the patchset, I've mailed it separately. I don't see the patchset anywhere. Did I miss your mail or did it fail