Espaces de noms
Variantes
Affichages
Actions

atomic_flag

De cppreference.com
< c‎ | atomic

 
 
Atomique opérations de la bibliothèque
Types
Original:
Types
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
memory_order
atomic_flag
Macros
Original:
Macros
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
ATOMIC_***_LOCK_FREE
ATOMIC_FLAG_INIT
ATOMIC_VAR_INIT
kill_dependency
Fonctions
Original:
Functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
atomic_flag_test_and_set
atomic_flag_clear
atomic_init
atomic_is_lock_free
atomic_store
atomic_load
atomic_exchange
atomic_compare_exchange
atomic_fetch_add
atomic_fetch_sub
atomic_fetch_or
atomic_fetch_xor
atomic_fetch_and
atomic_thread_fence
atomic_signal_fence
 
Defined in header <stdatomic.h>
typedef /* unspecified */ atomic_flag;
(depuis C11)
atomic_flag est un type atomique booléen. Contrairement à d'autres types atomiques, il est garanti d'être sans verrou. Contrairement atomic_bool, atomic_flag ne fournit pas de charge ou de l'exploitation des magasins .
Original:
atomic_flag is an atomic boolean type. Unlike other atomic types, it is guaranteed to be lock-free. Unlike atomic_bool, atomic_flag does not provide load or store operations.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.