5.4. Pipes
5.4. 管道
Pipes are missing before version 2.0. |
A pipe is a memory object that stores data organized as a FIFO. Pipe objects can only be accessed using built-in functions that read from and write to a pipe. Pipe objects are not accessible from the host. A pipe object encapsulates the following information:
管道是存储以FIFO形式组织的数据的内存对象。只能使用从管道读取和写入管道的内置函数来访问管道对象。无法从主机访问管道对象。管道对象封装以下信息:
-
Packet size in bytes
-
数据包大小(字节)
-
Maximum capacity in packets
-
最大容量(以数据包为单位)
-
Information about the number of packets currently in the pipe
-
有关管道中当前数据包数量的信息
-
Data packets
-
数据包