Module Async_unix.Thread_safe_ivar

A simple thread-safe ivar implementation.

type 'a t
include sig ... end
val sexp_of_t : ('a ‑> Sexplib.Sexp.t) ‑> 'a t ‑> Sexplib.Sexp.t
val create : unit ‑> _ t
val fill : 'a t ‑> 'a ‑> unit
val read : 'a t ‑> 'a

read t blocks until t is filled.