This is a queue I've implemented to learn about lock-free programming. It allows multiple producers and consumers. Use at your own risk! P.S. tinycthread is only included to run the test.