Namensräume
Varianten
Aktionen

atomic_flag

Aus cppreference.com
< c‎ | atomic

 
 
Atomare Operationen Bibliothek
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
Makros
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
Funktionen
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;
(Seit C11)
atomic_flag ist eine atomare Typ boolean. Im Gegensatz zu anderen atomaren Typen, ist es garantiert Lock-frei. Im Gegensatz zu atomic_bool, nicht atomic_flag keine Lade-oder Speicher-Operationen .
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.