package luv

  1. Overview
  2. Docs
Binding to libuv: cross-platform asynchronous I/O

Install

Dune Dependency

Authors

Maintainers

Sources

luv-0.5.6.tar.gz
sha256=35d8092d7a7e8d00a7ab8caf79d99e2073baf1999f5b9274de4d69078ad83685
md5=fb78fd1b179f5c9585e79b5a1c5ff644

doc/luv/Luv/Barrier/index.html

Module Luv.BarrierSource

Barriers.

See Barriers in libuv.

Sourcetype t
Sourceval init : int -> (t, Error.t) Result.result

Allocates and initializes a barrier.

Binds uv_barrier_init. See pthread_barrier_init(3p).

Sourceval destroy : t -> unit

Cleans up a barrier.

Binds uv_barrier_destroy. See pthread_barrier_destroy(3p).

Sourceval wait : t -> bool

Waits on a barrier.

Binds uv_barrier_wait. See pthread_barrier_wait(3p).

OCaml

Innovation. Community. Security.