package async_unix

  1. Overview
  2. Docs
Monadic concurrency library

Install

Dune Dependency

Authors

Maintainers

Sources

async_unix-v0.13.0.tar.gz
sha256=6ad4b4271b1a28150e2e6ddddcdc7e6df2c144c3221be3fa64d400e9500ebe9c
md5=1f150e28eeca17ebf3ff65641132c26d

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 uses add_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

Library async_unix.thread_safe_pipe

  • Thread_safe_pipe A thread-safe pipe is a thread-safe interface to the write end of a normal Async.Pipe. All operations except for create must be called from threads outside Async, while create can be called from inside or outside Async.
OCaml

Innovation. Community. Security.