Module tls

Source
Expand description

Implements ELF TLS Variant II. I highly recommend reading the Fuchsia docs on thread-local storage as prep for this code.

Structs§

Tcb
TlsModId
TlsModule
TlsRegion

Enums§

TlsVariant
The TLS variant which determines the layout of the TLS region.

Functions§

get_current_thread_control_block
Get a pointer to the current thread control block, using the thread pointer.