package async_unix

  1. Overview
  2. Docs
Monadic concurrency library

Install

dune-project
 Dependency

Authors

Maintainers

Sources

async_unix-v0.15.0.tar.gz
sha256=49919d67c4197fed6a980a83a5e38f3c7311081dc40480c368c5b572a9cb3bc5

doc/async_unix.thread_safe_ivar/Thread_safe_ivar/index.html

Module Thread_safe_ivar

A simple thread-safe ivar implementation.

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

read t blocks until t is filled.