single_producer_single_consumer

Single producer single consumer

Libraries

Concurrent Queue Classes in Intel® Threading Building Blocks

lockfree in boost

Snippets

https://github.com/kianooshm/cpp-base/blob/master/data-struct/pcqueue/spsc_queue_by_drdobbs.h

http://acumensoftwareinc.com/TechNotes/spsc_queue/index.html based on https://software.intel.com/en-us/articles/single-producer-single-consumer-queue

https://github.com/TUM-LRR/era-gp-sim/blob/master/include/core/lockfree-queue.hpp

https://github.com/spopa01/cpp_playground/blob/master/cpp_concurrency/lock_free_queue_and_general_concurrent_queue.cpp

http://tinesware.blogspot.it/2009/07/simple-lockfree-queue-c-windows.html based on the answer http://stackoverflow.com/a/1164042/15485 to the question http://stackoverflow.com/questions/1164023/is-there-a-production-ready-lock-free-queue-or-hash-implementation-in-c

https://github.com/rigtorp/SPSCQueue

Books

TAUBENFELD, Gadi. Synchronization algorithms and concurrent programming. Pearson Education, 2006.

HERLIHY, Maurice; SHAVIT, Nir. The Art of Multiprocessor Programming, Revised Reprint. Elsevier, 2012.

SCOTT, Michael Lee. Programming language pragmatics. Morgan Kaufmann, 2000.

WILLIAMS, Anthony. C++ concurrency in action. London, 2012.