Thread storage duration
From cppreference.com
An object whose identifier is declared with the storage-class specifier _Thread_local (since C11)
Example
Run this code
const double PI = 3.14159; /* const variable is global to all threads */ _Thread_local unsigned int seed; /* seed is a thread-specific variable */ int main(void) { return 0; }
Possible output:
(none)