A C++14 library for executors
MPMCQueue.h
A C++14 library for executors | MPMCQueue.h | |
---|---|---|
- | 2 | |
478 | 1,089 | |
- | - | |
0.0 | 2.8 | |
over 7 years ago | about 2 months ago | |
C++ | C++ | |
Boost Software License 1.0 | 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.
A C++14 library for executors
We haven't tracked posts mentioning A C++14 library for executors yet.
Tracking mentions began in Dec 2020.
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?
libdill - Structured concurrency in C
moodycamel - A fast multi-producer, multi-consumer lock-free concurrent queue for C++11
libmill - Go-style concurrency in C
Disruptor - High Performance Inter-Thread Messaging Library
Taskflow - A General-purpose Parallel and Heterogeneous Task Programming System
abseil-cpp - Abseil Common Libraries (C++)
continuable - C++14 asynchronous allocation aware futures (supporting then, exception handling, coroutines and connections)
readerwriterqueue - A fast single-producer, single-consumer lock-free queue for C++
C++ Actor Framework - An Open Source Implementation of the Actor Model in C++
Thrust - [ARCHIVED] The C++ parallel algorithms library. See https://github.com/NVIDIA/cccl