An open API service indexing awesome lists of open source software.

https://github.com/sbooth/cxxringbuffer

A lock-free SPSC ring buffer.
https://github.com/sbooth/cxxringbuffer

cpp cpp20 lock-free ring-buffer

Last synced: 11 days ago
JSON representation

A lock-free SPSC ring buffer.

Awesome Lists containing this project

README

          

# CXXRingBuffer

A lock-free SPSC ring buffer.

This class is thread safe when used with a single producer and a single consumer.

> [!NOTE]
> C++20 is required.

## Installation

### Swift Package Manager

Add a package dependency to https://github.com/sbooth/CXXRingBuffer in Xcode.

### Manual or Custom Build

1. Clone the [CXXRingBuffer](https://github.com/sbooth/CXXRingBuffer) repository.
2. `swift build`.

## License

Released under the [MIT License](https://github.com/sbooth/CXXRingBuffer/blob/main/LICENSE.txt).