This is the Linux app named SPSCQueue.h whose latest release can be downloaded as Increasedthroughputsourcecode.zip. It can be run online in the free hosting provider OnWorks for workstations.
Download and run online this app named SPSCQueue.h with OnWorks for free.
Follow these instructions in order to run this app:
- 1. Downloaded this application in your PC.
- 2. Enter in our file manager https://www.onworks.net/myfiles.php?username=XXXXX with the username that you want.
- 3. Upload this application in such filemanager.
- 4. Start the OnWorks Linux online or Windows online emulator or MACOS online emulator from this website.
- 5. From the OnWorks Linux OS you have just started, goto our file manager https://www.onworks.net/myfiles.php?username=XXXXX with the username that you want.
- 6. Download the application, install it and run it.
SCREENSHOTS
Ad
SPSCQueue.h
DESCRIPTION
SPSCQueue is a bounded single-producer, single-consumer queue written in C++11 for high-performance inter-thread communication. It is both lock-free and wait-free within its intended one-producer and one-consumer model. The queue provides blocking and nonblocking insertion methods along with direct access to the element at the front. Items can be inserted through copy, move, or in-place construction. Benchmarks published by the project show lower latency and higher throughput than several comparable queue implementations on the tested hardware. Its fixed-size structure avoids repeated allocation during normal queue operations. The header-only design makes it useful for real-time, low-latency, and producer-consumer applications where predictable synchronization overhead matters.
Features
- Single-producer single-consumer design
- Lock-free and wait-free operation
- Fixed-capacity queue storage
- Blocking and nonblocking insertion
- In-place element construction
- Header-only C++11 implementation
Programming Language
C++
Categories
This is an application that can also be fetched from https://sourceforge.net/projects/spscqueue-h.mirror/. It has been hosted in OnWorks in order to be run online in an easiest way from one of our free Operative Systems.