Skip to content

thread_local

The thread_local is a storage modifier for creating TLS for each thread.

Syntax

thread_local unbound Type Identifier = value;
thread_local Type Identifier = value;