阅读背景:

如何避免在指定管道关闭后阻塞read()

来源:互联网 

I have two processes created with named pipe. The writer process writes a message using write(), and the reader process reads the message with read(). I noticed that read() blocks when the writer closes the pipe. Is that possible to let writer process sends EOF before closing the pipe so that the reader will not be blocked?I have two processes created with named pipe. T




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: