每个管道都有自己的管道缓冲区(pipe buffer),事实上,每个管道都有一个管道缓冲区 的数组,即 bufs 字段表示的数组,这个数组可以看作一个环形缓冲区:写进程不断向这 个大...
基于16个网页-相关网页
除了增加管道阶段之外,还可以通过其他方法使用更多的缓冲区。
In addition to adding pipeline stages, there is another way to take advantage of additional buffers.
基本思想是给每个管道分配一个要处理的缓冲区,然后按一次处理一个阶段的方式处理每个缓冲区。
The basic idea is to give each pipeline its own buffer for processing, and then process each buffer a stage at a time.
消息管道内部也是组织成一个环形缓冲区。
A message pipe is internally organized as a ring buffer, too.
应用推荐