Hot Search : Source embeded web remote control p2p game More...
Location : Home Downloads SourceCode OS program Linux-Unix

threecodes

  • Category : Linux-Unix
  • Tags :
  • Update : 2012-11-26
  • Size : 2kb
  • Downloaded :9次
  • Author :杨子坤
  • About : Nobody
  • PS : If download it fails, try it again. Download again for free!
Introduction - If you have any usage issues, please Google them yourself
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
Packet file list
(Preview for download)
2.txt
3.txt
1.txt
Related instructions
  • We are an exchange download platform that only provides communication channels. The downloaded content comes from the internet. Except for download issues, please Google on your own.
  • The downloaded content is provided for members to upload. If it unintentionally infringes on your copyright, please contact us.
  • Please use Winrar for decompression tools
  • If download fail, Try it againg or Feedback to us.
  • If downloaded content did not match the introduction, Feedback to us,Confirm and will be refund.
  • Before downloading, you can inquire through the uploaded person information

Nothing.

Post Comment
*Quick comment Recommend Not bad Password Unclear description Not source
Lost files Unable to decompress Bad
*Content :
*Captcha :
DSSZ is the largest source code store in internet!
Contact us :
1999-2046 DSSZ All Rights Reserved.