A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://en.cppreference.com/w/cpp/../cpp/../cpp/../cpp/../c/thread/../atomic/ATOMIC_FLAG_INIT.html below:

ATOMIC_FLAG_INIT - cppreference.com

#define ATOMIC_FLAG_INIT /* unspecified */

(since C11)

Expands to an initializer that can be used to initialize atomic_flag type to the clear state. The value of an atomic_flag that is not initialized using this macro is indeterminate.

[edit] Example
#include <stdatomic.h>
 
atomic_flag flag = ATOMIC_FLAG_INIT;
[edit] References
[edit] See also

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4