package domain-local-timeout

  1. Overview
  2. Docs

Source file Thread_intf.ml

1
2
3
4
5
6
7
8
9
10
(** Signature for a minimal subset of the [Stdlib.Thread] module needed by
    domain local timeout. *)
module type Thread = sig
  type t

  val self : unit -> t
  val id : t -> int
  val create : ('a -> 'b) -> 'a -> t
  val join : t -> unit
end
OCaml

Innovation. Community. Security.