Module Opentelemetry_client_sync.Util_thread

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

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

val 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