package async_unix
Monadic concurrency library
Install
Dune Dependency
Authors
Maintainers
Sources
v0.17.0.tar.gz
sha256=814d3a9997ec1316b8b2a601b24471740641647a25002761f7df7869c3ac9e33
doc/index.html
async_unix
API
Library async_unix
Library async_unix.thread_pool
Thread_pool
A thread pool is a set of OCaml threads used to do work, where each piece of work is simply a thunk. One creates a thread pool, and then usesadd_work
to submit work to it. Work is done first-come-first-served by available threads in the pool. Any of the available threads in the pool could be used to do work submitted to the pool (except helper threads, see below).
Library async_unix.thread_safe_ivar
Thread_safe_ivar
A simple thread-safe ivar implementation.
Library async_unix.thread_safe_pipe
Thread_safe_pipe
A thread-safe pipe is a thread-safe interface to the write end of a normalAsync.Pipe
. All operations except forcreate
must be called from threads outside Async, whilecreate
can be called from inside or outside Async.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page