Cygwin: FIFO: improve EOF detection
Add a hit_eof method that tries to detect whether any clients are connected. Before concluding that there are none, it gives the listen_client thread time to update the client data.
This commit is contained in:
committed by
Corinna Vinschen
parent
c75e077f99
commit
c6e221c036
@ -1277,6 +1277,7 @@ class fhandler_fifo: public fhandler_base
|
||||
bool listen_client ();
|
||||
public:
|
||||
fhandler_fifo ();
|
||||
bool hit_eof ();
|
||||
PUNICODE_STRING get_pipe_name ();
|
||||
DWORD listen_client_thread ();
|
||||
void fifo_client_lock () { _fifo_client_lock.lock (); }
|
||||
|
Reference in New Issue
Block a user