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
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
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
Basic Concepts:
Pipelines have no names, so their greatest disadvantage is that they can only be used between processes that have a common ancestor process. We cannot create a pipe between unrelated processes and use it as an IPC pipe (regardless of
deep understanding of Linux interprocess communication (IPC)
0. Preface
1. Pipeline
1.1. Pipeline overview and related API application
1.2. Well-known pipeline overview and related API application
1.3. Summary
1.4. Reference materials
2. Signal (ON)
English title: Useful one-line SCRIPTS for SED (Unix stream editor)Original title: HANDY one-liners for SED (Unix stream editor) Finishing: Eric pement-e-mail: pemente[at]northpark[dot]edu version 5.5Translator: Joe-e-mail: hq00e[at]126[dot]com The
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.