lockfree

Lock-free data structures for multicore OCaml
README

A collection of Concurrent Lockfree Data Structures for OCaml 5. It contains:

Usage

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)

Contributing

Contributions of more lockfree data structures appreciated! Please create
issues/PRs to this repo.

Install
Published
06 Apr 2022
Sources
lockfree-0.2.0.tbz
sha256=704c2069346248d389913408c364834c1bc46dea5d411c0bedd836868b21e321
sha512=fe05be37dc0aa4ddcca3f9b463f9abfad5054e94955a566bc0fe81faa8fd63d0b06cbce494ef74a71657b6167d37cf7cb13e752067c3dbd9e697d41e6d82dd63
Dependencies
dune
>= "3.0"
ocaml
>= "5.0"
Reverse Dependencies
domainslib
>= "0.5.0"