previous
|
start
|
next
Thread Synchronization
Use
bounded queue
Each producer thread inserts greetings
Each consumer thread removes greetings
Two producers, one consumer
previous
|
start
|
next