Named Pipe Closing Problem
C / C++ / MFC
1
Posts
1
Posters
0
Views
1
Watching
-
Hi, I have a program which creates a named pipe in one thread and then launches another to call ConnectNamedPipe. Now at some point in the initial thread it will be required to shutdown, so I have tried calling DisconnectNamedPipe followed by CloseHandle but this does not seem to free up the thread that is listening on ConnectNamedPipe and it remains blocking. Anybody know of a solution to this