Module Safe.TLSSource
Like TLS, but uses modes to enforce properties necessary for data-race freedom.
Source
val new_key :
?split_from_parent:('a -> (unit -> 'a) @ once portable) @ portable ->
(unit -> 'a) @ portable ->
'a keyLike TLS.new_key, but safe to use in the presence of multiple domains.
Like TLS.get, but safe to use in the presence of multiple domains.