thread_local

thread_local

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

Convenience macro which can be used to specify that an object has thread-local storage duration.

References

  • C11 standard (ISO/IEC 9899:2011):
    • 7.26.1/3 thread_local (p: 376)

See also

C++ documentation for thread_local

© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
http://en.cppreference.com/w/c/thread/thread_local

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部