package lockfree

  1. Overview
  2. Docs
Lock-free data structures for multicore OCaml

Install

Dune Dependency

Authors

Maintainers

Sources

lockfree-0.2.0.tbz
sha256=704c2069346248d389913408c364834c1bc46dea5d411c0bedd836868b21e321
sha512=fe05be37dc0aa4ddcca3f9b463f9abfad5054e94955a566bc0fe81faa8fd63d0b06cbce494ef74a71657b6167d37cf7cb13e752067c3dbd9e697d41e6d82dd63

Description

Published: 06 Apr 2022

README

lockfree — Lock-free data structures for Multicore OCaml

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.

Dependencies (2)

  1. dune >= "3.0"
  2. ocaml >= "5.0"

Dev Dependencies

None

Used by (1)

  1. domainslib = "0.5.0"

Conflicts

None

OCaml

Innovation. Community. Security.