package async_unix

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Thread_safe_ivarSource

A simple thread-safe ivar implementation.

Sourcetype 'a t
Sourceval sexp_of_t : ('a -> Sexplib0.Sexp.t) -> 'a t -> Sexplib0.Sexp.t
Sourceval create : unit -> _ t
Sourceval fill : 'a t -> 'a -> unit
Sourceval read : 'a t -> 'a

read t blocks until t is filled.

OCaml

Innovation. Community. Security.