Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2010-03-31 19:00:48 +0400
committerChristopher Faylor <me@cgf.cx>2010-03-31 19:00:48 +0400
commite446d6d0f46722c6303f7c0dfbde27009d35045a (patch)
treef338420cd4fa12671a0a89044ca71c2c312fb569 /winsup/cygwin/fhandler.h
parent2aec20905ec3c76c94feb45af5c2f6c329fbf5e4 (diff)
* fhandler.h (fhandler_base_overlapped): Temporarily (?) make select_pipe_info
a friend until the fhandler_tty intertangling can be worked out. * select.cc (select_pipe_info::add_watch_handle): Don't inspect the overlapped event if we're not waiting for I/O. (fhandler_tty_common::select_*): Change to standard function. Don't do kludgy fhandler_pipe coercion.
Diffstat (limited to 'winsup/cygwin/fhandler.h')
-rw-r--r--winsup/cygwin/fhandler.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/winsup/cygwin/fhandler.h b/winsup/cygwin/fhandler.h
index 28cc82fa8..c367ed6c3 100644
--- a/winsup/cygwin/fhandler.h
+++ b/winsup/cygwin/fhandler.h
@@ -569,6 +569,8 @@ public:
void set_overlapped (OVERLAPPED *ov) {overlapped = ov;}
fhandler_base_overlapped (): io_pending (false), overlapped (NULL) {}
bool has_ongoing_io ();
+ friend class select_pipe_info; /* FIXME: At least correct the naming
+ here */
};
class fhandler_pipe: public fhandler_base_overlapped