##### 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 ONCE_FLAG_INIT /* unspecified */ |  | (since C11)

Expands to a value that can be used to initialize an object of type once_flag.

### [edit] See also

call_once (C11) | calls a function exactly once (function) [edit]

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