Description: The experimental points, solve concurrent environment, multi-process synchronization and mutual exclusion problem. Interprocess synchronization mutex necessarily involve inter-process communication (exchange of information). But the memory space of the process are isolated from each other, so communication between them only through the following means: the IPC mechanisms pipeline signal or file. On current knowledge and experimental requirements, the use of the file is about methods see the file " lock.h" directory under the " common" and " , c- format. Program to generate multiple processes, but also on the job control mechanism to understand this part, please refer to Chapter IX. As said in the classroom, if both left-handed and right-handed philosopher, philosophers problem solvable. The framework of the simulation program is shown below, which function lock () and unlock () defined in earlier documents.
To Search:
File list (Check if you may need any files):
philosopher.c