class DynamicTlsPtr
Defined at line 99 of file ../../sdk/lib/c/dlfcn/dl/test/../tlsdesc-runtime-dynamic.h
DynamicTlsPtr is a smart pointer type that's interoperable with assembly
code accessing it as if it were a plain pointer type in memory.
Public Methods
DynamicTlsPtr New (fbl::AllocChecker & ac, const TlsModule & module)
Allocate a new, initialized block for the TlsModule. This is the only way
a new pointer goes into a DynamicTlsPtr; otherwise only moves happen.
Hence, a DynamicTlsPtr always points to a block that already contains its
properly constinit-initialized values for some thread to start using (or,
later, that it is already using).
Defined at line 145 of file ../../sdk/lib/c/dlfcn/dl/test/../tlsdesc-runtime-dynamic.h
void DynamicTlsPtr ()
Defined at line 150 of file ../../sdk/lib/c/dlfcn/dl/test/../tlsdesc-runtime-dynamic.h
void DynamicTlsPtr (const DynamicTlsPtr & )
Defined at line 151 of file ../../sdk/lib/c/dlfcn/dl/test/../tlsdesc-runtime-dynamic.h
void DynamicTlsPtr (DynamicTlsPtr && other)
Defined at line 153 of file ../../sdk/lib/c/dlfcn/dl/test/../tlsdesc-runtime-dynamic.h
DynamicTlsPtr & operator= (const DynamicTlsPtr & )
Defined at line 155 of file ../../sdk/lib/c/dlfcn/dl/test/../tlsdesc-runtime-dynamic.h
DynamicTlsPtr & operator= (DynamicTlsPtr && other)
Defined at line 156 of file ../../sdk/lib/c/dlfcn/dl/test/../tlsdesc-runtime-dynamic.h
void reset ()
Defined at line 162 of file ../../sdk/lib/c/dlfcn/dl/test/../tlsdesc-runtime-dynamic.h
void ~DynamicTlsPtr ()
Defined at line 164 of file ../../sdk/lib/c/dlfcn/dl/test/../tlsdesc-runtime-dynamic.h
bool operator bool ()
Defined at line 166 of file ../../sdk/lib/c/dlfcn/dl/test/../tlsdesc-runtime-dynamic.h
std::span<std::byte> contents (size_t tls_size)
There are no get(), operator*(), or operator->() methods. Once a TLS
block has been allocated, the only way to see a pointer inside it is to
acquire the valid span with knowledge of the TlsModule::tls_size() value
used to allocate this block.
Defined at line 172 of file ../../sdk/lib/c/dlfcn/dl/test/../tlsdesc-runtime-dynamic.h
std::span<std::byte> contents (const TlsModule & module)
Defined at line 173 of file ../../sdk/lib/c/dlfcn/dl/test/../tlsdesc-runtime-dynamic.h