Advantages of pipe communication

pipeline

A pipe is an open shared file that connects two processes and is dedicated to data communication between processes.

The sending process can continuously write data streams from one end of the pipeline, and the length of information written each time is variable. The
receiving process can read data from the other end of the pipeline if necessary, and the length of the read unit is also variable.

The synchronization and mutual are automatically performed by the operating system, which is transparent to the user

おすすめ

転載: blog.csdn.net/qq_45157635/article/details/120242344