diff options
author | Christopher Faylor <me@cgf.cx> | 2001-11-04 02:31:58 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2001-11-04 02:31:58 +0000 |
commit | 476dfb657b1b66c1c98484f047749e4be1a5b14d (patch) | |
tree | d06213be681ef2bf6046b4d3295c44ac059a4a7b /newlib/libc/unix/getut.c | |
parent | f41d24a14d5672c152938abd44226108d236aca1 (diff) | |
download | cygnal-476dfb657b1b66c1c98484f047749e4be1a5b14d.tar.gz cygnal-476dfb657b1b66c1c98484f047749e4be1a5b14d.tar.bz2 cygnal-476dfb657b1b66c1c98484f047749e4be1a5b14d.zip |
* 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.
Diffstat (limited to 'newlib/libc/unix/getut.c')
0 files changed, 0 insertions, 0 deletions