Crate alloc_tls [] [src]

Allocator-safe thread-local storage.

The tls module implements thread-local storage that, unlike the standard library's implementation, is safe for use in a global allocator.

Macros

alloc_thread_local

Declare a thread-local variable.

alloc_tls_fast_with

Access the TLS slot with maximum performance.

Structs

TLSSlot

A slot for a thread-local variable.