package async_unix

  1. Overview
  2. Docs
Monadic concurrency library

Install

Dune Dependency

Authors

Maintainers

Sources

async_unix-v0.12.0.tar.gz
sha256=2bb9912727733a77f09c2b116c50d0d6e78361206d327ad028ab23c53d6af55e
md5=17ad333416b283baf808ff5cc6eaaacd

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 -> Ppx_sexp_conv_lib.Sexp.t) -> 'a t -> Ppx_sexp_conv_lib.Sexp.t
val create : unit -> _ t
val fill : 'a t -> 'a -> unit
val read : 'a t -> 'a

read t blocks until t is filled.

OCaml

Innovation. Community. Security.