lockfree — Lock-free data structures for Multicore OCamlA collection of Concurrent Lockfree Data Structures for OCaml 5. It contains:
lockfree cam be installed from opam: opam install lockfree. Sample usage of Ws_deque is illustrated below.
module Ws_deque = Ws_deque.M
let q = Ws_deque.create ()
let () = Ws_deque.push q 100
let () = assert (Ws_deque.pop q = 100)Contributions of more lockfree data structures appreciated! Please create issues/PRs to this repo.