资源消耗打开/关闭命名管道 [英] resource consumption opening/closing a named pipe
本文介绍了资源消耗打开/关闭命名管道的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我需要一个命名管道来进行进程间通信.我必须在第二时间间隔内发送消息.
thx,
Fabian
解决方案
最好保持管道打开.为您减少工作量,为计算机减少工作量.
Hi,
I need a named pipe for interprocess communication. I have to send messages in second intervals. Is it better to keep the handle of the pipe open or to always open/close after a message?
thx,
Fabian
解决方案
It is better to keep the pipe open. Less work for you, less work for the computer.
这篇关于资源消耗打开/关闭命名管道的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文