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