Description: In accordance with the producer/consumer works in a Linux environment, to create two processes (or threads), a process (thread) as a producer (used to buffer write characters limited number of characters)another process (thread) as a consumer (the producers to write the character read from the buffer).
Requirements:
A program the contents of the buffer should be continuously displayed
Program design should consider the two processes concurrent execution, synchronization and mutual exclusion
(3) the ability of students to the number of concurrent process management extended to N (N> = 3) multiple.
To Search:
File list (Check if you may need any files):
0910636_庄镝_作业3
..................\0910636_庄镝_作业3_进程同步与互斥.doc
..................\1.png
..................\2.png
..................\3.png
..................\pthread
..................\.......\bin
..................\.......\...\Debug
..................\.......\...\.....\proj2
..................\.......\main.c
..................\.......\obj
..................\.......\...\Debug
..................\.......\...\.....\main.o
..................\.......\pthread.cbp
..................\.......\pthread.depend
..................\.......\pthread.layout