Changes in producer-consumer example.
Minor changes