diff options
author | Christopher Faylor <me@cgf.cx> | 2009-06-30 14:36:11 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2009-06-30 14:36:11 +0000 |
commit | 840bb397986fa6914a67e62e25df97e1dd88dc45 (patch) | |
tree | 82e77a17cc59eb72e542e6b36192e69a31b24916 /winsup/cygwin/fhandler.h | |
parent | 4a83803381f3ce1838f5650e7096d9006f673fdd (diff) | |
download | cygnal-840bb397986fa6914a67e62e25df97e1dd88dc45.tar.gz cygnal-840bb397986fa6914a67e62e25df97e1dd88dc45.tar.bz2 cygnal-840bb397986fa6914a67e62e25df97e1dd88dc45.zip |
* 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.
Diffstat (limited to 'winsup/cygwin/fhandler.h')
-rw-r--r-- | winsup/cygwin/fhandler.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/fhandler.h b/winsup/cygwin/fhandler.h index a4cc50f56..cc44655b9 100644 --- a/winsup/cygwin/fhandler.h +++ b/winsup/cygwin/fhandler.h @@ -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); |