Welcome![Sign In][Sign Up]
Location:
Downloads SourceCode OS program Linux-Unix
Title: LinuxProcessCommunication Download
 Description: 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.
 Downloaders recently: [More information of uploader zjy880303]
 To Search:
File list (Check if you may need any files):
Linux进程通信的系统调用--实现生产者和消费者问题
...............................................\a.out
...............................................\b.out
...............................................\main
...............................................\Makefile~
...............................................\operation.o
...............................................\producer_a
...............................................\producer_b
...............................................\semaphore.o
...............................................\sharemem.o
    

CodeBus www.codebus.net