Modern C++: Writing a thread-safe Queue – Code Trips & Tips
The STL provides a high-performance queue class in std::queue ; however, the API is not very intuitive, or easy, to use and it is not safe to access from multiple threads.In this article, w…
Modern C++: Writing a thread-safe Queue – Code Trips & Tips Skip to content Coding Modern C++: Writing a thread-safe Queue The STL provides a high-performance queue class in std::queue<T>; however, the API is not very intuitive, or easy, to use and it is not safe to access from multiple threads.In this article, we will show how to wrap it in a more convenient, and thread-safe, API. The C++ Standard Template Library (STL) offers a template-class… Marco July 26, 2020 6–9 minutes The STL provides a high-performance queue class in std::queue<T> ; however, the API is not very intuitive
related reading
- priority_queue - C++ Referencecplusplus.com
- Everything I know about good system designseangoedecke.com
- Three Ways For C++ Thread Synchronization in C++11 and C++14 | Chrizogchrizog.com
- Girls Just Wanna Have Fast MPMC Queues with bounded waiting · Nahlanahla.dev
- My tutorial and take on C++20 coroutinesscs.stanford.edu
- Multi Core Programming and Threadsimomath.com
- Notes on structured concurrency, or: Go statement considered harmful - njs blogvorpus.org
- Effortless Performance Improvements in C++ | Julien Jorge's Personal Websitejulien.jorge.st
- CS106B Stacks and Queuesweb.stanford.edu
- CUDA C++ Programming Guide (Legacy) — CUDA C++ Programming Guidedocs.nvidia.com
- Daily bit(e) of C++ | Coroutines: step by stepsimontoth.substack.com
- Learn C++ – Skill up with our free tutorialslearncpp.com