package luv

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

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.