* 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:
@@ -302,7 +302,7 @@ class fhandler_base
|
||||
virtual char const *ttyname () { return get_name (); }
|
||||
virtual void __stdcall read (void *ptr, size_t& len) __attribute__ ((regparm (3)));
|
||||
virtual void __stdcall read_overlapped (void *ptr, size_t& len) __attribute__ ((regparm (3)));
|
||||
virtual bool __stdcall has_ongoing_io () __attribute__ ((regparm (1)));
|
||||
virtual bool __stdcall has_ongoing_io (bool) __attribute__ ((regparm (2)));
|
||||
virtual int write (const void *ptr, size_t len);
|
||||
virtual int __stdcall write_overlapped (const void *ptr, size_t len);
|
||||
virtual ssize_t readv (const struct iovec *, int iovcnt, ssize_t tot = -1);
|
||||
|
Reference in New Issue
Block a user