Module Safe.TLSSource
Like TLS, but uses modes to enforce properties necessary for data-race freedom.
Type of a TLS key
Source
val new_key :
?split_from_parent:('a -> unit -> 'a) @ portable ->
(unit -> 'a) @ portable ->
'a Stdlib.Domain.Safe.TLS.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.
Like TLS.set, but safe to use in the presence of multiple domains.