rwspinlock
Slim, simple, cross-process, reader-writer unfair fast spin lock for Windows (by tringi)
cpp-ipc
C++ IPC Library: A high-performance inter-process communication using shared memory on Linux/Windows. (by mutouyun)
rwspinlock | cpp-ipc | |
---|---|---|
2 | 1 | |
9 | 1,612 | |
- | - | |
3.9 | 6.1 | |
9 days ago | 2 months ago | |
C++ | C++ | |
- | GNU General Public License v3.0 or later |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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.
rwspinlock
Posts with mentions or reviews of rwspinlock.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-04-06.
-
Windows 11 Insider Dev channel build 23493 still runs on earliest Windows on ARM64 (Snapdragon 835) devices
I'll check out the video, but I'm personally not bothered much by performance of regular software, games or emulation. On anything with 32 or more HW threads our main product uses custom thread pools and synchronization that beat anything Windows API offers. E.g. this kind of RwSpinLock, but of course it's all tailored for a specific use cases, definitely not fit as a replacement to anything.
-
MutexProtected: A C++ Pattern for Easier Concurrency
In one my own locks, I have facility to do:
cpp-ipc
Posts with mentions or reviews of cpp-ipc.
We have used some of these posts to build our list of alternatives
and similar projects.
-
What are the "best practices" or "better design patterns" for posting message from one thread to others?
I'm working on a complex c++ project for my company these days. First, I need to pass 5 different types of messages (and attached data) from Process A to Process B. I use cpp-ipc and it works fine. And in Process B, there is one thread (called thread b) which is responsible for receiving those messages and "posting" them to other threads. I can't determine (and of course, don't know) the good solutions. My current idea is to use 5 concurrent queues for the 5 types of message. When thread b receives a message, it pushes the message to a queue, and other threads take the message from the queue. pseudocode example:
What are some alternatives?
When comparing rwspinlock and cpp-ipc you can also consider the following projects:
shadesmar - Fast C++ IPC using shared memory
Osiris - Free and open-source game hack for Counter-Strike 2, written in modern C++. For Windows and Linux.
cs_libguarded - Header-only library for multithreaded programming
polybar-dwm-module - A dwm module for polybar
ecal - 📦 eCAL - enhanced Communication Abstraction Layer. A high performance publish-subscribe, client-server cross-plattform middleware.