As of 1.53, boost provides a set of lock free data structures, including queues, stacks and single-producer/single-consumer queues (i.e. ring buffers).
More Related Contents:
- c++ push reference node to stl list
- Erasing elements from a vector
- Concise explanation of reference collapsing rules requested: (1) A& & -> A& , (2) A& && -> A& , (3) A&& & -> A& , and (4) A&& && -> A&&
- Why are Standard iterator ranges [begin, end) instead of [begin, end]?
- Why do I get the same sequence for every run with std::random_device with mingw gcc4.8.1?
- When vectors are allocated, do they use memory on the heap or the stack?
- Nice way to append a vector to itself
- In STL maps, is it better to use map::insert than []?
- Where can I get a “useful” C++ binary search algorithm?
- Relative performance of std::vector vs. std::list vs. std::slist?
- std::sort does not always call std::swap
- Is std::vector copying the objects with a push_back?
- how-to initialize ‘const std::vector’ like a c array
- Is hash_map part of the STL?
- How to read a growing text file in C++?
- Why is value taking setter member functions not recommended in Herb Sutter’s CppCon 2014 talk (Back to Basics: Modern C++ Style)?
- Initial capacity of vector in C++
- Non-copyable elements in vector
- Circular lock-free buffer
- How to make elements of vector unique? (remove non adjacent duplicates)
- How does overloading of const and non-const functions work?
- How can I use Standard Library (STL) classes in my dll interface or ABI?
- Does boost have a datatype for set operations that is simpler than the STL?
- Memory allocation and deallocation across dll boundaries
- STL deque accessing by index is O(1)?
- Incrementing iterators: Is ++it more efficient than it++? [duplicate]
- Can std::vector emplace_back copy construct from an element of the vector itself?
- C++ template function compiles in header but not implementation
- Insert into an STL queue using std::copy
- Is a memory barrier required to read a value that is atomically modified?