#queue #spsc #lock-free #wait-free

cirque

Unidirectional, circular, lock/wait-free SPSC queue with unbounded capacity

1 unstable release

0.0.1 Jul 20, 2023

#20 in #wait-free

MPL-2.0 license

11KB
121 lines

cirque

Crates.io Docs.rs Deps.rs Security audit Continuous integration License: MPL 2.0

Unidirectional, circular, lock/wait-free SPSC queue with unbounded capacity.

Handy for receiving and processing messages in a realtime context. The messages could be channelled through the realtime context without deallocating any memory there. Instead they are returned back to the producer that either recycles or drops them.

License

Licensed under the Mozilla Public License 2.0 (MPL-2.0) (see MPL-2.0.txt or https://www.mozilla.org/MPL/2.0/).

Permissions of this copyleft license are conditioned on making available source code of licensed files and modifications of those files under the same license (or in certain cases, one of the GNU licenses). Copyright and license notices must be preserved. Contributors provide an express grant of patent rights. However, a larger work using the licensed work may be distributed under different terms and without source code for files added in the larger work.

Contribution

Any contribution intentionally submitted for inclusion in the work by you shall be licensed under the Mozilla Public License 2.0 (MPL-2.0).

It is required to add the following header with the corresponding SPDX short identifier to the top of each file:

// SPDX-License-Identifier: MPL-2.0

Dependencies

~11KB