ATOMIC_FLAG_INIT

ATOMIC_FLAG_INIT

Defined in header <stdatomic.h>
#define ATOMIC_FLAG_INIT /* unspecified */
(since C11)

Expands to an expression that can be used to initialize atomic_flag type. The value atomic_flag that is not initialized using this macro is undefined.

References

  • C11 standard (ISO/IEC 9899:2011):
    • 7.17.1/3 ATOMIC_FLAG_INIT (p: 273)
    • 7.17.8/4 ATOMIC_FLAG_INIT (p: 285)

See also

(C11)
initializes a new atomic object
(function macro)

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

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部