sync
MPMCQueue.h
Our great sponsors
sync | MPMCQueue.h | |
---|---|---|
2 | 2 | |
17 | 1,089 | |
- | - | |
6.2 | 2.8 | |
3 months ago | about 2 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.
sync
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...
What are some alternatives?
Disruptor - High Performance Inter-Thread Messaging Library
moodycamel - A fast multi-producer, multi-consumer lock-free concurrent queue for C++11
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
multiversion-concurrency-contro
abseil-cpp - Abseil Common Libraries (C++)
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