mpipe icon indicating copy to clipboard operation
mpipe copied to clipboard

如何保障管道中每次都是最新的数据,而不是任由他一直在缓冲区存储,知道撑爆

Open 1124676457 opened this issue 3 years ago • 0 comments

我想问下。我该怎么修改,才能完成实时的获取到最新的数据,如果我下一个进程处理不过来的话,可以将旧的数据清除掉,保障每次获取的都是最新的数据,而不是一直将数据塞入缓冲区,最后导致内存撑爆。 @vmlaker

1124676457 avatar May 18 '21 06:05 1124676457