* fhandler.cc (fhandler_base::setup_overlapped): Don't set signalled state to
true initially. (fhandler_base::has_ongoing_io): Delete ill-advised function. (fhandler_base::read_overlapped): Rely on caller having checked nonblocking state. Don't attempt to (incorrectly) check it here. (fhandler_base::write_overlapped): Remove call to has_ongoing_io. * select.cc (peek_pipe): Ditto. * fhandler.h (fhandler_base::has_ongoing_io): Delete declaration.
This commit is contained in:
@@ -526,8 +526,6 @@ out:
|
||||
else if (fh->get_device () == FH_PIPER)
|
||||
select_printf ("%s, select for write on read end of pipe",
|
||||
fh->get_name ());
|
||||
else if (fh->has_ongoing_io (true))
|
||||
s->write_ready = false;
|
||||
else
|
||||
{
|
||||
IO_STATUS_BLOCK iosb = {0};
|
||||
|
Reference in New Issue
Block a user