]> sourceware.org Git - newlib-cygwin.git/commit
* fhandler.h (fhandler_base::ready_for_read): Remove unused argument.
authorChristopher Faylor <me@cgf.cx>
Sun, 4 Nov 2001 02:31:58 +0000 (02:31 +0000)
committerChristopher Faylor <me@cgf.cx>
Sun, 4 Nov 2001 02:31:58 +0000 (02:31 +0000)
commit476dfb657b1b66c1c98484f047749e4be1a5b14d
treed06213be681ef2bf6046b4d3295c44ac059a4a7b
parentf41d24a14d5672c152938abd44226108d236aca1
* 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
This page took 0.027942 seconds and 5 git commands to generate.