Two Threads That Share a Common Resource
A Simple Synchronization Problem with a Random
Producer and a Hungry Consumer
The
source code directory
.
The demonstrater source with main()
.
The source for the shared cubby hole resource
.
The source for the producer thread
.
The source for the consumer thread
.
Some correctly synched output
.