* 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:
Christopher Faylor
2009-06-30 14:36:11 +00:00
parent 4a83803381
commit 840bb39798
4 changed files with 17 additions and 6 deletions

View File

@@ -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
{