Please ignore the below mail. I overlooked the fact that get function for Q
is a blocking call.
Thanks,
Amish
On Thu, May 19, 2016 at 3:16 PM, Amish Anand
wrote:
> Hi
> I am writing an application which basically solves a simple producer
> consumer problem. Both producer and consumer run on sep
Hi
I am writing an application which basically solves a simple producer
consumer problem. Both producer and consumer run on separate threads. The
producer function writes to a Queue and continues producing data, whereas
the consumer thread function waits for items to be enqueued and once
present, i