package picos

  1. Overview
  2. Docs

Source file picos_thread.ml

1
2
3
4
5
# 1 "lib/picos.thread/picos_thread.posix.ml"
let main_thread = Thread.self ()
let is_main_thread () = Thread.self () == main_thread

module TLS = Thread_local_storage
OCaml

Innovation. Community. Security.