package opentelemetry-client

  1. Overview
  2. Docs

Module Opentelemetry_client_sync.Util_threadSource

Sourceval start_bg_thread : (unit -> unit) -> Thread.t

start a thread in the background, running f(), blocking signals

Sourceval setup_ticker_thread : active:Opentelemetry_util.Aswitch.t -> sleep_ms:int -> tick:(unit -> unit) -> unit -> Thread.t

thread that calls tick() regularly, to help enforce timeouts