package async_unix

  1. Overview
  2. Docs
Monadic concurrency library

Install

Dune Dependency

Authors

Maintainers

Sources

async_unix-v0.14.0.tar.gz
sha256=ae97ceedeb9231e0b465501bb8ee3b0436daa32d699d7b2ce18f0edd4fda32b9
md5=a67300edf50a56e5bac760333404c6e7

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.