Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
所以继承人的情况(在Windows):
当读取端(在父级)关闭时,有没有办法从管道中获取事件?如果不是,我们必须不断地向管道写入垃圾,以检测管道何时关闭,这是一种次优且浪费的解决方案。