atomic_flag_clear, atomic_flag_clear_explicit
Aus cppreference.com
|
|
This page has been machine-translated from the English version of the wiki using Google Translate.
The translation may contain errors and awkward wording. Hover over text to see the original version. You can help to fix errors and improve the translation. For instructions click here. |
<metanoindex/>
<tbody> </tbody>| definiert in Header <stdatomic.h>
|
||
void atomic_flag_clear( volatile atomic_flag* obj ); |
(1) | |
void atomic_flag_clear_explicit( volatile atomic_flag* obj, memory_order order ); |
(2) | |
Atomar ändert den Zustand eines
atomic_flag um darauf durch obj verwenden, um zu löschen (false). Die erste Version Bestellungen Speicherzugriffe nach memory_order_seq_cst greift der zweite Version Bestellungen Speicher nach order .Original:
Atomically changes the state of a
atomic_flag pointed to by obj to clear (false). The first version orders memory accesses according to memory_order_seq_cst, the second version orders memory accesses according to order.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.
Parameter
| obj | - | Zeiger auf die atomare Flagge Objekts zu ändern
Original: pointer to the atomic flag object to modify The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
| order | - | der Speicher-Synchronisation Bestellung für diesen Vorgang: Alle Werte sind zulässig
Original: the memory synchronization ordering for this operation: all values are permitted The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
Rückgabewert
(None)
Original:
(none)
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.
Siehe auch
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) | |
C++ documentation for atomic_flag_clear, atomic_flag_clear_explicit
| |