package shared-memory-ring

  1. Overview
  2. Docs
type ('a, 'b) t
val init : sring:sring -> ('a, 'b) t
val slot : ('a, 'b) t -> int -> Cstruct.t
val nr_ents : ('a, 'b) t -> int
val get_free_requests : ('a, 'b) t -> int
val next_req_id : ('a, 'b) t -> int
val ack_responses : ('a, 'b) t -> (Cstruct.t -> unit) -> unit
val push_requests : ('a, 'b) t -> unit
val push_requests_and_check_notify : ('a, 'b) t -> bool
val to_string : ('a, 'b) t -> string
OCaml

Innovation. Community. Security.