package async_unix

  1. Overview
  2. Docs
Monadic concurrency library

Install

Dune Dependency

Authors

Maintainers

Sources

async_unix-v0.14.0.tar.gz
sha256=ae97ceedeb9231e0b465501bb8ee3b0436daa32d699d7b2ce18f0edd4fda32b9
md5=a67300edf50a56e5bac760333404c6e7

doc/async_unix.thread_pool/Thread_pool/Helper_thread/index.html

Module Thread_pool.Helper_thread

A helper thread is a thread with its own dedicated work queue. Work added for the helper thread is guaranteed to be run by that thread. The helper thread only runs work explicitly supplied to it. Helper threads count towards a thread pool's max_num_threads.

type t
val sexp_of_t : t -> Ppx_sexp_conv_lib.Sexp.t
val default_name : t -> string

default_name t returns the name that will be used for work performed by t, unless that work is added with an overriding name

val default_priority : t -> Priority.t

default_priority t returns the priority that will be used for work performed by t, unless that work is added with an overriding priority.

OCaml

Innovation. Community. Security.