Up
Module
Thread_safe_ivar
A simple thread-safe ivar implementation.
Signature
type
'a t
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.