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

LinuxProcessCommunication

  • Category : Linux-Unix
  • Tags :
  • Update : 2012-11-26
  • Size : 34kb
  • Downloaded :6次
  • Author :ZH***
  • About : Nobody
  • PS : If download it fails, try it again. Download again for free!
Download1 Download2
Don't use download software fo downloading.
If download fail,Try it again for free.
Introduction - If you have any usage issues, please Google them yourself
The process of the creation of two producers and two consumers process, producers process a need to generate 10,000 integers, each of its own process (using getpid () function to obtain) and generated integer Add shared memory ( shared memory size of 64Byte). Producer b each 26 letters of the alphabet from a selected and the process of their own and select Add shared memory of the letters until all 26 letters selected. C is responsible for the consumer process to read from shared memory data producers and the process of a data write to file these data a.out. Consumer process d from the process of shared memory to read the data b in b.out write.
Packet file list
(Preview for download)
Linux进程通信的系统调用--实现生产者和消费者问题
...............................................\a.out
...............................................\b.out
...............................................\main
...............................................\Makefile~
...............................................\operation.o
...............................................\producer_a
...............................................\producer_b
...............................................\semaphore.o
...............................................\sharemem.o
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 :
CodeBus is one of the largest source code repositories on the Internet!
Contact us :
1999-2046 CodeBus All Rights Reserved.