|
3 年前 | |
---|---|---|
.. | ||
Makefile | 4 年前 | |
README.md | 4 年前 | |
concurrentqueue.h | 3 年前 | |
enlfq.cc | 4 年前 | |
enlfq.h | 4 年前 | |
enlfq_nif.cc | 4 年前 | |
enlfq_nif.h | 3 年前 | |
nif_utils.cc | 4 年前 | |
nif_utils.h | 4 年前 | |
rebar.config | 4 年前 |
A simple NIF lock-free Queue using the library: moodycamel::concurrentqueue
An industrial-strength lock-free queue for C++.
Features:
$ rebar3 compile
{ok, Q} = enlfq:new().
T = {any, term, [], #{}, 1}.
true = enlfq:push(Q,T).
{ok, T} = enlfq:pop(Q).
empty = enlfq:pop(Q).