diff options
author | Christopher Faylor <me@cgf.cx> | 2010-04-03 02:36:44 +0400 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2010-04-03 02:36:44 +0400 |
commit | 1908518227ea55036df2a38581e24b57d48ea0cf (patch) | |
tree | 87a83e3ea8d13ceda6176c118714c0dcc4f9f9bf /winsup/cygwin/select.h | |
parent | 5151c80c8a6b9dcb6d6e3aa45df8f1a80414582b (diff) |
* fhandler.h (fhandler_base::has_ongoing_io): Declare virtual method.
* select.cc (peek_pipe): Reorganize slightly. Don't attempt to check a handle
if it has ongoing I/O.
(select_pipe_info::select_pipe_info): Delete definition.
(select_pipe_info::~select_pipe_info): Delete definition.
(thread_pipe): Get rid of WFMO call. Reorganize loop.
(pipe_cleanup): Remove dependence on destructor.
(thread_serial): Reorganize loop.
* select.h (select_pipe_info): Empty this class since it no longer has any
special requirements (for now).
* syscalls.cc (readv): Remove an unneeded debug printf.
Diffstat (limited to 'winsup/cygwin/select.h')
-rw-r--r-- | winsup/cygwin/select.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/winsup/cygwin/select.h b/winsup/cygwin/select.h index 3d553eb96..8734b1e04 100644 --- a/winsup/cygwin/select.h +++ b/winsup/cygwin/select.h @@ -1,7 +1,7 @@ /* select.h Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, - 2005, 2006, 2007, 2008, 2009 Red Hat, Inc. + 2005, 2006, 2007, 2008, 2009, 2010 Red Hat, Inc. This file is part of Cygwin. @@ -49,10 +49,6 @@ struct select_info struct select_pipe_info: public select_info { - DWORD n; - HANDLE w4[MAXIMUM_WAIT_OBJECTS]; - select_pipe_info (); - ~select_pipe_info (); }; struct select_socket_info: public select_info |