Cygwin: FIFO: code simplification: don't overload get_handle
Rename fhandler_fifo::get_handle(int) to get_fc_handle(int), and remove fhandler_fifo::get_handle(void).
This commit is contained in:
committed by
Corinna Vinschen
parent
10bf30bebf
commit
d243b3c70e
@ -1284,9 +1284,10 @@ public:
|
||||
fhandler_fifo ();
|
||||
bool hit_eof ();
|
||||
int get_nhandlers () const { return nhandlers; }
|
||||
HANDLE& get_handle () { return fhandler_base::get_handle (); }
|
||||
HANDLE get_handle (int i) const { return fc_handler[i].fh->get_handle (); }
|
||||
bool is_connected (int i) const { return fc_handler[i].state == fc_connected; }
|
||||
HANDLE get_fc_handle (int i) const
|
||||
{ return fc_handler[i].fh->get_handle (); }
|
||||
bool is_connected (int i) const
|
||||
{ return fc_handler[i].state == fc_connected; }
|
||||
PUNICODE_STRING get_pipe_name ();
|
||||
DWORD listen_client_thread ();
|
||||
void fifo_client_lock () { _fifo_client_lock.lock (); }
|
||||
|
Reference in New Issue
Block a user