Anticipations: Added code for producer/consumer queuing.