diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2006-07-28 12:50:46 +0400 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2006-07-28 12:50:46 +0400 |
commit | 8f713b6b08898d190c1ece38ada32b94dd80c26f (patch) | |
tree | 860070e8c869d5d0ddf2b3501fafa4570170390a /winsup/cygwin/fhandler_socket.cc | |
parent | bc31293a0de4edadeec7b23f4b8ddddcce92d44a (diff) |
* fhandler.h (struct wsa_event): Define here.
(class fhandler_socket): Make wsock_evt private again.
(fhandler_socket::wsock_event): New read accessor for wsock_evt.
(fhandler_socket::serial_number): New read accessor to get the
socket's serial number.
(fhandler_socket::ready_for_read): Just return true.
* fhandler_socket.cc (struct wsa_event): Move definition to fhandler.h.
* select.cc (struct socketinf): Add serial number vector.
(start_thread_socket): Identify duplicate sockets by their serial
number, not (wrongly) by their wsock_evt.
Diffstat (limited to 'winsup/cygwin/fhandler_socket.cc')
-rw-r--r-- | winsup/cygwin/fhandler_socket.cc | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/winsup/cygwin/fhandler_socket.cc b/winsup/cygwin/fhandler_socket.cc index 4a5177a02..be7f70723 100644 --- a/winsup/cygwin/fhandler_socket.cc +++ b/winsup/cygwin/fhandler_socket.cc @@ -382,14 +382,6 @@ fhandler_socket::af_local_set_secret (char *buf) connect_secret [2], connect_secret [3]); } -struct wsa_event -{ - LONG serial_number; - long events; - int connect_errorcode; - pid_t owner; -}; - /* Maximum number of concurrently opened sockets from all Cygwin processes on a machine. Note that shared sockets (through dup/fork/exec) are counted as one socket. */ |