Home

Awesome

build

lockfreequeues

Lock-free queues for Nim, implemented as ring buffers.

Three implementations are provided:

API documentation: https://elijahr.github.io/lockfreequeues

Installation

nimble install lockfreequeues

Examples

Examples are located in the examples directory and can be compiled and run with:

nimble examples

Reference

Many thanks to Mamy Ratsimbazafy for reviewing the initial release and offering suggestions.

Contributing

Running tests

Tests can be run locally with nimble test.

CI runs the test suite for both C and C++ targets on:

The test suite is also run with LLVM thread sanitization to check for data races.