Breaking ReadFile() blocking - Named Pipe (Windows API)

后端 未结 7 737
广开言路
广开言路 2020-12-30 23:43

To simplify, this is a situation where a NamedPipe SERVER is waiting for a NamedPipe CLIENT to write to the pipe (using WriteFile())

The Windows API that is blocking

7条回答
  •  不知归路
    2020-12-31 00:05

    Asynchronous I/O operations do not have to block any thread if they use I/O Completion Ports. See: http://msdn.microsoft.com/en-us/library/aa365198(VS.85).aspx

提交回复
热议问题