I have a bunch of threads that are doing lots of communication with each other. I would prefer this be lock free.
For each thread, I want to have a mailbox, where other
Here's a paper from the University of Rochester illustrating a non-blocking concurrent queue. The algorithm described in the paper shows one technique for making a lockless queue.