Next: Shared Memory
 Up: Ceng 425 System Programming
 Previous: Processes Vs. Threads
     Contents 
- The exit status of a child process. That is the simplest form of communication between two processes. 
 
- Interprocess communication (IPC) is the transfer of data among processes. 
 
- We discuss five types of interprocess communication:
- Shared memory permits processes to communicate by simply reading and writing to a specified memory location.
 
- Mapped memory is similar to shared memory, except that it is associated with a file in the filesystem. 
 
- Pipes permit sequential communication from one process to a related process.
 
- FIFOs are similar to pipes, except that unrelated processes can communicate because the pipe is given a name in the filesystem. 
 
- Sockets support communication between unrelated processes even on different computers. 
 
 
- These types of IPC differ by the following criteria: 
- Whether they restrict communication 
- to related processes,
 
- to unrelated processes sharing the same filesystem,
 
- to any computer connected to a network.
 
 
- Whether a communicating process is limited 
- to only write data,
 
- to only read data.
 
 
- The number of processes permitted to communicate.
 
- Whether the communicating processes are synchronized by the IPC for example, a reading process halts until data is available to read. 
 
 
Subsections
 
 
 
  
 Next: Shared Memory
 Up: Ceng 425 System Programming
 Previous: Processes Vs. Threads
     Contents 
Cem Ozdogan
2007-05-16