#queue #wait-free #bounded #0-unsafe #faa-based

wfqueue

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

2 releases

0.2.1 Sep 2, 2020
0.2.0 Jun 26, 2020
0.1.1 Jun 21, 2020
0.1.0 Jun 21, 2020

#16 in #wait-free

MIT license

11KB
295 lines

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

Dependencies

~54–350KB