Cygwin: FIFO: improve the check for the listen_client thread
Add a method fhandler_fifo::check_listen_client_thread that checks whether the thread is running. Use it in raw_read instead of just testing the handle listen_client_thr.
This commit is contained in:
@ -1274,6 +1274,7 @@ class fhandler_fifo: public fhandler_base
|
||||
void delete_client_handler (int);
|
||||
bool listen_client ();
|
||||
int stop_listen_client ();
|
||||
int check_listen_client_thread ();
|
||||
void record_connection (fifo_client_handler&);
|
||||
public:
|
||||
fhandler_fifo ();
|
||||
|
Reference in New Issue
Block a user