package async_unix

  1. Overview
  2. Docs
Monadic concurrency library

Install

Dune Dependency

Authors

Maintainers

Sources

async_unix-v0.13.0.tar.gz
sha256=6ad4b4271b1a28150e2e6ddddcdc7e6df2c144c3221be3fa64d400e9500ebe9c
md5=1f150e28eeca17ebf3ff65641132c26d

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.