Linux_c Development (5-1) interprocess Communication _ Inter-process communication concept

Source: Internet
Author: User

Purpose : Why is there a need for communication between processes?
1. Data transmission
A process needs to send his data to another process.
2. Resource Sharing
Share the same resources across multiple processes.
3. Notification Events
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
Some processes want full control over the execution of another process (the eg:debug process), at which point the control process wants to be able to intercept all the actions of another process and be able to know his state changes in a timely manner.

Development:
The Linux interprocess communication (IPC) is developed from the following and parts:
1. Process communication between UNIX
2. Inter-process communication based on System V
3. POSIX inter-process communication

category
The process of interprocess communication used by Linux now includes:
1. Piping (pipe) and famous pipe (FIFO)
2. Signal (signal)
3. Message Queuing
4. Shared Memory
5. Signal Volume
6. Socket (socket)

Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.

Linux_c Development (5-1) interprocess Communication _ Inter-process communication concept

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.