faa_array_queue

Crates.iofaa_array_queue
lib.rsfaa_array_queue
version0.1.2
sourcesrc
created_at2021-01-05 06:58:11.296566
updated_at2021-01-05 07:03:33.083485
descriptionFetch-And-Add Array Queue implementation for Rust.
homepagehttps://github.com/junkerjorg/faa_array_queue
repositoryhttps://github.com/junkerjorg/faa_array_queue
max_upload_size
id331949
size15,158
(junkerjorg)

documentation

README

Latest version Documentation Lines of code MIT

faa_array_queue

Fetch-And-Add Array Queue (a lock free mpmc queue) implementation for Rust.

Usage

Add these lines to your Cargo.toml:

[dependencies]
faa_array_queue = "0.1"

and use the queue like this:

use faa_array_queue::FaaArrayQueue;

let queue = FaaArrayQueue::<usize>::default();
queue.enqueue(1337);
assert!(queue.dequeue().unwrap() == 1337);

License

Licensed under MIT license

Commit count: 9

cargo fmt