[英]Limit of named pipe readers
(UNIX) I have 2 programs in C in which I use a named pipe (created by mkpipe, fopen etc.) to communicate. (UNIX)我在C中有2个程序,我使用命名管道(由mkpipe,fopen等创建)进行通信。 There is one writer and multiple readers for that pipe.
该管道有一个作者和多个读者。 Is there any way to set a maximum possible number of readers, in writer's code?
在作家的代码中,有没有办法设置最大可能的读者数量?
没有这样的方法可以做到这一点。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.