std::atomic_flag::clear
De 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>| Déclaré dans l'en-tête <atomic>
|
||
void clear( std::memory_order order = std::memory_order_seq_cst ) volatile; |
(1) | (depuis C++11) |
void clear( std::memory_order order = std::memory_order_seq_cst ); |
(2) | (depuis C++11) |
Change l'état atomique d'un std::atomic_flag à effacer (
false) . Original:
Atomically changes the state of a std::atomic_flag to clear (
false). 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.
Paramètres
| order | - | sycnhronization la mémoire de commande pour cette opération
Original: the memory sycnhronization ordering for this operation The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
Exceptions
Voir aussi
définit de manière atomique le drapeau pour true et obtient sa valeur précédente Original: atomically sets the flag to true and obtains its previous value The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (fonction membre publique) | |