##### cppreference.com

##### Search

Create account

##### Namespaces

- Page
- Discussion

##### Variants

##### Views

- View
- Edit
- History

##### Actions

# thread_local

From cppreference.com
< c‎ | thread

Defined in header `<threads.h>` |  |
#define thread_local _Thread_local |  | (since C11)

Convenience macro which can be used to specify that a variable is thread-local.

Retrieved from "http://en.cppreference.com/mwiki/index.php?title=c/thread/thread_local&oldid=63561"