4
0
mirror of git://sourceware.org/git/newlib-cygwin.git synced 2025-01-18 12:29:32 +08:00
Christopher Faylor 1229d4f4ee * dtable.cc (dtable::build_fhandler): Issue internal error on unknown device.
* fhandler.cc (fhandler_base::close): Show both name and handle in debugging
output.
* fhandler.h (fhandler_base::get_guard): New virtual method.
(fhandler_pipe::get_guard): New method.
(fhandler_socket::ready_for_read): Delete declaration.
(fhandler_pipe::ready_for_read): Ditto.
(fhandler_serial::ready_for_read): Ditto.
(fhandler_console::ready_for_read): Ditto.
(fhandler_tty_common::ready_for_read): Ditto.
(fhandler_windows::ready_for_read): Ditto.
(struct select_record::peek): Declare new method.
* select.cc (MAKEready): Delete.
(peek_pipe): Use get_guard method to retrieve potential guard mutex handle.
(fhandler_base::ready_for_read): Rewrite as generic ready-for-read handler.
Should only be called for "slow" devices.
(fhandler_socket::ready_for_read): Delete definition.
(fhandler_pipe::ready_for_read): Ditto.
(fhandler_serial::ready_for_read): Ditto.
(fhandler_console::ready_for_read): Ditto.
(fhandler_tty_common::ready_for_read): Ditto.
(fhandler_windows::ready_for_read): Ditto.
(fhandler_pipe::select_read): Fill in new peek record in select_record
structure.
(fhandler_console::select_read): Ditto.
(fhandler_tty_common::select_read): Ditto.
(fhandler_serial::select_read): Ditto.
(fhandler_socket::select_read): Ditto.
(fhandler_socket::select_read): Ditto.
(fhandler_tty_slave::ready_for_read): Check for tty not open.  Set errnos
appropriately.
* syscalls.cc (_read): Allow ready_for_read to set errno.
* pinfo.cc (pinfo::init): Return spawn/NO_WAIT process as valid if it is
initializing.
* sigproc.cc (getsem): Adjust wait for process to initialize downward to avoid
huge waits.
2001-11-01 21:15:53 +00:00
..
2001-09-11 20:01:02 +00:00
2001-10-28 23:05:49 +00:00
2001-10-28 23:05:49 +00:00
2001-10-28 23:05:49 +00:00
2001-09-11 20:01:02 +00:00
2001-09-11 20:01:02 +00:00
2001-10-12 01:51:21 +00:00
2001-09-11 20:01:02 +00:00
2001-09-12 17:46:37 +00:00
2001-09-11 20:01:02 +00:00
2000-11-19 04:58:18 +00:00
2001-09-11 20:01:02 +00:00
2001-10-28 23:05:49 +00:00
2001-10-05 04:36:14 +00:00
2001-10-28 23:05:49 +00:00
2001-09-22 01:29:07 +00:00
2001-10-09 18:12:51 +00:00
2001-10-28 23:05:49 +00:00
2001-09-11 20:01:02 +00:00
2001-09-11 20:01:02 +00:00
2001-06-01 01:45:53 +00:00
2001-09-12 17:46:37 +00:00
2001-09-11 20:01:02 +00:00
2001-09-11 20:01:02 +00:00
2001-09-11 20:01:02 +00:00
2001-09-11 20:01:02 +00:00
2000-08-18 19:51:02 +00:00
2001-09-11 20:01:02 +00:00
2001-09-11 20:01:02 +00:00
2001-09-11 20:01:02 +00:00
2001-09-17 03:05:05 +00:00
2001-09-11 20:01:02 +00:00
2001-09-11 20:01:02 +00:00