Description: 1) The process of creation: write a program using the system call fork () to create two sub-processes. When this program runs, the system has a parent and two child activities. Let each process a character on the screen: the parent shows the character "a", the child characters are shown "b" and "c". Test observations display the results on the screen, and analyze the reasons. (2) process control changes have been prepared by the procedure to output a character to each process for each process output word, and then observe the program execution when the phenomenon appears on the screen, and analyze the reasons. If the program using system calls lockf () to lock to each process, you can achieve mutual exclusion between processes to observe and analyze phenomena. (3) a) write a program to attain the soft interrupt the process of communication. Requirements: to use the system call fork () to create two sub-processes, then the system call signal () to parent up to capture the keyboard inter
To Search:
- [process] - The preparation of a section of source c
File list (Check if you may need any files):
08211480-赵梓淳\1.cpp
...............\1.exe
...............\LRU FIFO REPORTMENT.docx
...............\未命名.jpg
08211480-赵梓淳