package async_unix

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

async_unix v0.15.0

Libraries

This package provides the following libraries (via ocamlobjinfo):

async_unix

Documentation:

async_unix.thread_pool

Documentation:

  • 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).

async_unix.thread_safe_ivar

Documentation:

async_unix.thread_safe_pipe

Documentation:

  • 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.