package containers

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

Threads

status: unstable

  • since 0.13
type t = Thread.t
val spawn : (unit -> 'a) -> t

spawn f creates a new thread that runs f ()

val detach : (unit -> 'a) -> unit

detach f is the same as ignore (spawn f)

module Arr : sig ... end

Single-Use Barrier

module Barrier : sig ... end
module Queue : sig ... end
OCaml

Innovation. Community. Security.