1, pipeline overview and related API application1.1 Key concepts related to pipingThe pipeline is one of the original UNIX IPC forms supported by Linux and has the following features:
The pipe is half-duplex, the data can only flow in one
Organized from Network
Unix IPC includes: pipelines, named pipelines (FIFO), and signals (Signal)
Pipeline (pipe)
Pipelines can be used for communications between kinship-related processes. Famous pipelines overcome the restriction that pipelines
Interprocess communication must be provided through the kernel channel, and there must be a way to identify a channel provided by the kernel in the process, which is identified by an open file descriptor. If several processes to communicate with
Reprinted: http://blog.csdn.net/sunmenggmail/article/details/7888746
A large application system usually requires collaboration among many processes. The importance of communication between processes (see Linux Process Concept 1) is obvious. This
1. PrefaceAll examples of this post are based on the RHEL6.5 platform. This article covers only pipelines (anonymous pipes/normal pipelines), and named Pipes are described in subsequent articles.2. Piping characteristicsThe pipeline is one of the
From: http://cpp.ezbty.org/content/science_doc/linux%E4%B8%8B%E8%BF%9B%E7%A8%8B%E9%97%B4%E9%80%9A%E4%BF%A1%EF%BC%9A%E5%91%BD%E5%90%8D%E7% AE %A1%E9%81%93_mkfifo
SummaryThere are many methods for inter-process communication. FIFO and pipelines are
This pipeline is not the one that UNIX uses for command line.
Windows MPs queues can access named MPs queues on machines with names on the current machine or known machines. You can also create named MPs queues by yourself. A named pipe is the same
The Unix tradition tends to delegate a task to a process, but within a task is not just a thread, like all members of a company, everyone is doing the same thing, everyone is only part of it, and when the grain size is reduced, everything can be
The Unix tradition tends to delegate a task to a process, but within a task is not just a thread, like all members of a company, everyone is doing the same thing, everyone is only part of it, and when the grain size is reduced, everything can be
Send a data stream from ABAP to a Unix Named PipeOn the Unix side the FIFO can be read with suchCommnds like this: CAT/tmp/Fifi
Report zpipe.
Tables: usr02.Data: FIFO (30) value '/tmp/Fifi ',Mkfifo (30) value 'mkfifo-M 777/tmp/Fifi ',Rmfifo (30)
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.