Luv.Barrier
Barriers.
See Barriers in libuv.
Binds uv_barrier_t
.
Allocates and initializes a barrier.
Binds uv_barrier_init
. See pthread_barrier_init(3p)
.
val destroy : t -> unit
Cleans up a barrier.
Binds uv_barrier_destroy
. See pthread_barrier_destroy(3p)
.
val wait : t -> bool
Waits on a barrier.
Binds uv_barrier_wait
. See pthread_barrier_wait(3p)
.