Linux interprocess communication Programming-1

Source: Internet
Author: User

I. Overview of interprocess communication:

1. Purpose: Why do interprocess communication?

1) Data transfer: One process needs to send his data to another process.

2) resource sharing: coordinating shared resources.

3) Notification event: A process needs to send a message to another or a set of processes to notify them that an event has occurred.

4) Process Control

2. Development

The Linux interprocess communication (IPC) is developed from the following parts:

1) UNIX Inter-process communication

2) Inter-process communication based on System V (System 5 is one of many versions of the UNIX operating system)

3) POSIX interprocess communication (POSIX portable Operating system interface)

3. Classification

The ways in which Linux uses communication between processes now include:

1) piping (pipe) and well-known piping (FIFO)

2) signal (signal)

3) Message Queuing

4) Shared memory

5) Signal Volume

6) socket (socket)

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.