OSDN Git Service

* fhandler.h (fhandler_base::ready_for_read): Remove unused argument.
authorcgf <cgf>
Sun, 4 Nov 2001 02:31:58 +0000 (02:31 +0000)
committercgf <cgf>
Sun, 4 Nov 2001 02:31:58 +0000 (02:31 +0000)
commiteb037c630c4a501d605549c007b3ee7cc7e6a011
tree204bcfc990270bfcaaba148e0d52892d1af399fa
parentd655b3bad976f64a28fc5c0319416417883d7141
* fhandler.h (fhandler_base::ready_for_read): Remove unused argument.
(fhandler_tty_slave::ready_for_read): Ditto.
(select_record): Remove poll, initialize peek.
* select.cc: Remove all poll functions, throughout.  Change second argument of
peek_* functions to 'bool' throughout.  Specifically initialize *_ready
variables throughout.
(select_stuff::poll): Subsume previous poll functionality.
(peek_pipe): Don't grab guard mutex when in select loop.  select()/read() is
racy by design so there is no need to worry about a race in select().
(fhandler_base::ready_for_read): Remove unused argument.
(fhandler_tty_slave::ready_for_read): Ditto.
* syscalls.cc (_read): Eliminate third argument in ready_for_read call.
winsup/cygwin/ChangeLog
winsup/cygwin/fhandler.h
winsup/cygwin/select.cc
winsup/cygwin/syscalls.cc