package stdcompat

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

Module Stdcompat.DomainSource

Sourcetype 'a t
  • since 5.0.0: type !'a t
Sourcetype id = private int
  • since 5.0.0: type id = Domain.id
Sourcemodule DLS : sig ... end
  • since 5.0.0: module DLS = Domain.DLS
Sourceval spawn : (unit -> 'a) -> 'a t
  • since 5.0.0: val spawn : (unit -> 'a) -> 'a t
Sourceval join : 'a t -> 'a
  • since 5.0.0: val join : 'a t -> 'a
Sourceval get_id : 'a t -> id
  • since 5.0.0: val get_id : 'a t -> id
Sourceval self : unit -> id
  • since 5.0.0: val self : unit -> id
Sourceval before_first_spawn : (unit -> unit) -> unit
  • since 5.0.0: val before_first_spawn : (unit -> unit) -> unit
Sourceval at_exit : (unit -> unit) -> unit
  • since 5.0.0: val at_exit : (unit -> unit) -> unit
Sourceval cpu_relax : unit -> unit
  • since 5.0.0: val cpu_relax : unit -> unit
Sourceval is_main_domain : unit -> bool
  • since 5.0.0: val is_main_domain : unit -> bool
  • since 5.0.0: val recommended_domain_count : unit -> int
Sourceval self_index : unit -> int
  • since 5.3: self_index : unit -> int