* fhandler.cc (fhandler_base::has_ongoing_io): Accept an argument indicating
whether the overlapped event should be tested. (fhandler_base::read_overlapped): Pass is_overlapped state to has_ongoing_io. (fhandler_base::write_overlapped): Ditto. * fhandler.h (fhandler_base::has_ongoing_io): Accommodate argument change. * select.cc (peek_pipe): Ditto.
This commit is contained in:
@@ -513,7 +513,7 @@ 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 ())
|
||||
else if (fh->has_ongoing_io (true))
|
||||
s->write_ready = false;
|
||||
else
|
||||
{
|
||||
|
Reference in New Issue
Block a user