Abstract
-
Allow 2 isolated Process (进程) or multiple Thread in a single process to communicate with each other
-
The communication is essential to coordinate the activities among Processes/Threads that are cooperating to get some job done
-
There are many ways to implement IPC, but there are 2 categories. Message Passing - Pipe (管道), Message Queue (消息队列), Upcall, Socket and Shared Memory
-
We also Synchronisation (同步) methods utilised like Mutex (互斥体) and Semaphore (信号量) to ensure no Race Condition (竞态条件) from happening