* 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.
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user