wfqueue

Crates.iowfqueue
lib.rswfqueue
version0.2.1
sourcesrc
created_at2020-06-21 07:57:36.18433
updated_at2020-09-02 04:32:02.73705
descriptionFAA-based wait-free bounded queue, and 0-unsafe.
homepagehttps://github.com/quininer/wfqueue
repositoryhttps://github.com/quininer/wfqueue
max_upload_size
id256244
size28,903
quininer (quininer)

documentation

https://docs.rs/wfqueue

README

0-unsafe Wait-free Queue

FAA-based wait-free bounded queue, and 0-unsafe.

Usage

use wfqueue::WfQueue;

let queue = WfQueue::new(3);

queue.push(Box::new(0x42)).unwrap();
let output = queue.pop().unwrap();

assert_eq!(*output, 0x42);

reference

Commit count: 13

cargo fmt