Unix Multiprocess Programming

Course Instructor Dr. C.-K. Shene
Office Dow 204
Phone (906) 487-3392
e-mail shene@mtu.edu

You are visitor since December 16, 1998.
Last update: March 17, 2001.

Creating Processes
The fork() System Call
The wait() System Call
Execute a Program: the execvp() System Call
Shared Memory
What is Shared Memory?
Keys
Asking for a Shared Memory Segment - shmget()
Attaching a Shared Memory Segment to an Address Space - shmat()
Detaching and Removing a Shared Memory Segment - shmdt() and shmctl()
Examples
Communicating between Parent and Child
Communicating Between Two Separated Processes
Background Processes and Shared Memory Status

Please send comments and suggestions to shene@mtu.edu