MPMCQueue.h
sync
MPMCQueue.h | sync | |
---|---|---|
2 | 2 | |
1,093 | 17 | |
- | - | |
2.8 | 6.2 | |
about 2 months ago | 3 months ago | |
C++ | C++ | |
MIT License | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
MPMCQueue.h
-
MPMC suggestions where messages are sent to all consumers ?
I have looked at the commonly recommended - https://github.com/cameron314/readerwriterqueue - https://github.com/rigtorp/MPMCQueue
-
Correctly implementing a spinlock in Modern C++
You can align and pad each ring buffer slot to the cache line size. Example https://github.com/rigtorp/MPMCQueue/blob/master/include/rig...
sync
What are some alternatives?
moodycamel - A fast multi-producer, multi-consumer lock-free concurrent queue for C++11
Disruptor - High Performance Inter-Thread Messaging Library
multiversion-concurrency-control - Implementation of multiversion concurrency control, Raft, Left Right concurrency Hashmaps and a multi consumer multi producer Ringbuffer, concurrent and parallel load-balanced loops, parallel actors implementation in Main.java, Actor2.java and a parallel interpreter
abseil-cpp - Abseil Common Libraries (C++)
multiversion-concurrency-contro
readerwriterqueue - A fast single-producer, single-consumer lock-free queue for C++
libmill - Go-style concurrency in C
Thrust - [ARCHIVED] The C++ parallel algorithms library. See https://github.com/NVIDIA/cccl
A C++14 library for executors - C++ library for executors
Boost.Compute - A C++ GPU Computing Library for OpenCL