Welcome![Sign In][Sign Up]
Location:
Downloads SourceCode OS program Linux-Unix
Title: threecodes Download
 Description: 1, using C language to write a program named procs4, the program is running a total of four processes, procs4 process (parent process) to create two sub-processes p1 and p2, p1 sub-process re-creates a child process p3. 4 key process to complete the following work: The parent process and print the string "I am main process" p1 child process print "I am child process p1" string p2 child process print "I am child process p2" child process p3 print the string "I am child process p3 ", and then use the exec (tribe) system call to print the current directory files and subdirectories under the details. And each process, you want to print their own pid. 2, using any kind of communication mechanism to achieve the p1 and p2 the process of communication between processes, you can use the communication mechanisms such as: pipes, message queues, shared memory, and so on. Process P1 sends "Child process p1 is sending a message!" Message to the p2 process, P2 process sends "Child process p2 i
 Downloaders recently: [More information of uploader bchgsh]
 To Search: threecodes.rar
File list (Check if you may need any files):
2.txt
3.txt
1.txt
    

CodeBus www.codebus.net