If implementation a producer/consumer model, what's the best data structure to use?
<p>I thought a queue should be OK, the producer push back and the consumer take from front. Is there any other thoughts like thread safety etc?</p>
