package containers

  1. Overview
  2. Docs
A modular, clean and powerful extension of the OCaml standard library

Install

dune-project
 Dependency

Authors

Maintainers

Sources

v2.8.tar.gz
md5=03b80e963186e91ddac62ef645bf7fb2
sha512=c8f434808be540c16926bf03d89f394d33fc2d092f963a7b6d412481229e0a96290f1ad7c7d522415115d35426b7aa0b3fda4b991ddc321dad279d402c9a0c0b

doc/containers.thread/CCPool/Make/index.html

Module CCPool.MakeSource

Create a new Pool

Parameters

module P : PARAM

Signature

Sourceval run : (unit -> _) -> unit

run f schedules f for being executed in the thread pool.

Sourceval run1 : ('a -> _) -> 'a -> unit

run1 f x is similar to run (fun () -> f x).

Sourceval run2 : ('a -> 'b -> _) -> 'a -> 'b -> unit
Sourceval run3 : ('a -> 'b -> 'c -> _) -> 'a -> 'b -> 'c -> unit
Sourceval set_exn_handler : (exn -> unit) -> unit
Sourceval active : unit -> bool

active () is true as long as stop() has not been called yet.

Sourceval stop : unit -> unit

After calling stop (), most functions will raise Stopped. This has the effect of preventing new tasks from being executed.

Sourcemodule Fut : sig ... end
OCaml

Innovation. Community. Security.