Atomic operations library
Aus cppreference.com
< c
<metanoindex/>
Wenn das Makro konstanten
__STDC_NO_ATOMICS__(C11) durch den Compiler, Header <stdatomic.h>, dem Schlüsselwort _Atomic, und alle hier aufgeführten Namen definiert ist nicht vorgesehen.Original:
If the macro constant
__STDC_NO_ATOMICS__(C11) is defined by the compiler, the header <stdatomic.h>, the keyword _Atomic, and all of the names listed here are not provided.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
Types
definiert in Header
<stdatomic.h> | |
(C11) |
definiert Beschränkungen der Speicherordnung Original: defines memory ordering constraints The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (enum) |
(C11) |
sperrenfreies atomares boolsches Flag (struct) |
Makros
definiert in Header
<stdatomic.h> | |
anzeigt, daß die gegebene Atomtyp Lock-frei ist Original: indicates that the given atomic type is lock-free The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (Makro konstant) | |
(C11) |
initialisiert eine neue atomic_flag Original: initializes a new atomic_flag The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (Makro konstant) |
(C11) |
initialisiert eine neue atomare Objekt Original: initializes a new atomic object The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (funktionieren Makro) |
(C11) |
bricht eine Abhängigkeit Kette für memory_order_consume Original: breaks a dependency chain for memory_order_consume The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (funktionieren Makro) |
Funktionen
definiert in Header
<stdatomic.h> | |
setzt eine atomic_flag auf true und gibt den alten Wert Original: sets an atomic_flag to true and returns the old value The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (Funktion) | |
setzt eine atomic_flag auf false Original: sets an atomic_flag to false The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (Funktion) | |
(C11) |
initializes an existing atomic object (Funktion) |
(C11) |
zeigt an, ob die atomare Objekt lock-frei ist Original: indicates whether the atomic object is lock-free The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (Funktion) |
speichert einen Wert in einem atomaren Objekt Original: stores a value in an atomic object The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (Funktion) | |
liest einen Wert aus einer atomaren Objekt Original: reads a value from an atomic object The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (Funktion) | |
Swaps ein Wert mit dem Wert eines atomaren Objekt Original: swaps a value with the value of an atomic object The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (Funktion) | |
Swaps ein Wert mit dem atomaren Objekt, wenn der alte Wert ist das, was erwartet wird, sonst liest den alten Wert Original: swaps a value with the an atomic object if the old value is what is expected, otherwise reads the old value The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (Funktion) | |
atomic hinaus Original: atomic addition The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (Funktion) | |
atomaren Subtraktion Original: atomic subtraction The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (Funktion) | |
atomaren logischen ODER Original: atomic logical OR The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (Funktion) | |
atomaren logischen exklusiven ODER Original: atomic logical exclusive OR The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (Funktion) | |
atomaren logische UND Original: atomic logical AND The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (Funktion) | |
(C11) |
generische Memory um-abhängige Zaun Synchronisierungsgrundeinheit Original: generic memory order-dependent fence synchronization primitive The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (Funktion) |
(C11) |
Zaun zwischen einem Gewinde und einer Signal-Handler im selben Thread ausgeführt Original: fence between a thread and a signal handler executed in the same thread The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (Funktion) |
Types
| This section is incomplete Reason: description |
