Picos_thread
Minimalistic thread API available with or without threads.posix.
threads.posix
val is_main_thread : unit -> bool
is_main_thread () determines whether running on the main thread of the application.
is_main_thread ()
module TLS : sig ... end
Thread-local storage.