Producer Logic: Generating Data for the Buffer - The Producer-Consumer Problem | OneNoughtOne