Description: Design and implement a computation thread and an I/O thread shared buffer synchronization and communication, procedural requirements: two threads share a common variable a Thread 1 is responsible for calculating (counting 1 to 100, each plus a number) thread 2 responsible for printing (cumulative output of intermediate results) the main thread waits for the child process exits.
To Search:
File list (Check if you may need any files):
exp22.c