From 08b446de14cddf362c8f8a5f18f36dee35d2f8ef Mon Sep 17 00:00:00 2001 From: c-cube Date: Mon, 26 Aug 2024 15:26:19 +0000 Subject: [PATCH] deploy: 444f8a3acc8ef1124307db219bc567c4fbc6bc73 --- moonpool/Moonpool_private/Thread_local_storage_/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/moonpool/Moonpool_private/Thread_local_storage_/index.html b/moonpool/Moonpool_private/Thread_local_storage_/index.html index afdbf2e0..6c98a3fe 100644 --- a/moonpool/Moonpool_private/Thread_local_storage_/index.html +++ b/moonpool/Moonpool_private/Thread_local_storage_/index.html @@ -1,2 +1,2 @@ -Thread_local_storage_ (moonpool.Moonpool_private.Thread_local_storage_)

Module Moonpool_private.Thread_local_storage_

Thread local storage

type 'a t

A TLS slot for values of type 'a. This allows the storage of a single value of type 'a per thread.

val create : unit -> 'a t
val get : 'a t -> 'a
  • raises Failure

    if not present

val get_opt : 'a t -> 'a option
val set : 'a t -> 'a -> unit
+Thread_local_storage_ (moonpool.Moonpool_private.Thread_local_storage_)

Module Moonpool_private.Thread_local_storage_

Thread local storage

type 'a t

A TLS slot for values of type 'a. This allows the storage of a single value of type 'a per thread.

exception Not_set
val create : unit -> 'a t
val get_exn : 'a t -> 'a
val get_opt : 'a t -> 'a option
val set : 'a t -> 'a -> unit