Cygwin: FIFO: remove fifo_client_handler::connect_evt

It's not needed.  Instead just create and use an event in
fhandler_fifo::listen_client_thread.
This commit is contained in:
Ken Brown
2019-06-20 15:14:47 -04:00
parent 5b2696cb83
commit 6e7e82fee7
2 changed files with 15 additions and 16 deletions

View File

@ -1253,8 +1253,7 @@ struct fifo_client_handler
{
fhandler_base *fh;
fifo_client_connect_state state;
HANDLE connect_evt;
fifo_client_handler () : fh (NULL), state (fc_unknown), connect_evt (NULL) {}
fifo_client_handler () : fh (NULL), state (fc_unknown) {}
int close ();
/* Returns FILE_PIPE_DISCONNECTED_STATE, FILE_PIPE_LISTENING_STATE,
FILE_PIPE_CONNECTED_STATE, FILE_PIPE_CLOSING_STATE,