Added a lock-free multi-producer and multi-consumer queue.