package obatcher

  1. Overview
  2. Docs
A Framework for building Batched Concurrent Data Structures

Install

Dune Dependency

Authors

Maintainers

Sources

obatcher-1.1.tbz
sha256=2ee8f97a1e4a55899f8fdc48aa422e553d6a4d256e71b59e4257448beaf27dd3
sha512=61d0645dc5bd6955f3e663f133d27d9c8c61081e24bc8d88e73f86380432e783fa50bc4d980a9b17ccb949f6af9b90ef834f379ec9171b692745f05d9a34c0f9

doc/obatcher.ds/Ds/Batched_hashtbl/Batched/index.html

Module Batched_hashtbl.BatchedSource

Sourcetype t = (int, string) Hashtbl.t
Sourcetype 'a op =
  1. | Add : int * string -> unit op
  2. | Replace : int * string -> unit op
  3. | Remove : int -> unit op
  4. | Find : int -> string op
Sourcetype wrapped_op =
  1. | Mk : 'a op * 'a Picos.Computation.t -> wrapped_op
Sourcetype cfg = {
  1. random : bool option;
  2. initial_size : int;
}
Sourceval init : ?cfg:cfg -> unit -> ('a, 'b) Hashtbl.t
Sourceval run : (int, string) Hashtbl.t -> wrapped_op array -> unit
OCaml

Innovation. Community. Security.