Source

ocaml-core / base / core / extended / lib / runtime_blockout_detector.mli

The branch 'bash' does not exist.
Full commit
1
2
3
4
5
6
7
(** [Runtime_blockout_detector] is used detect bugs in C libraries that fail
    to release the OCaml runtime lock before making blocking calls. *)
open Core.Std

(** [start] starts a thread that watches for blockouts where the OCaml
    lock isn't released.  By default, it prints a message to stderr. *)
val start : ?callback:(elapsed:Time.Span.t -> unit) -> unit -> unit