std::atomic_flag::clear
Da cppreference.com.
|
|
Questa pagina è stata tradotta in modo automatico dalla versione in ineglese della wiki usando Google Translate.
La traduzione potrebbe contenere errori e termini strani. Muovi il puntatore sopra al testo per vedere la versione originale. Puoi aiutarci a correggere gli gli errori. Per ulteriori istruzioni clicca qui. |
<metanoindex/>
<tbody> </tbody>| Elemento definito nell'header <atomic>
|
||
void clear( std::memory_order order = std::memory_order_seq_cst ) volatile; |
(1) | (dal C++11) |
void clear( std::memory_order order = std::memory_order_seq_cst ); |
(2) | (dal C++11) |
Atomico cambia lo stato di un std::atomic_flag per cancellare (
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.
Parametri
| order | - | sycnhronization la memoria di ordinazione per questa operazione
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. |
Eccezioni
Vedi anche
imposta atomicamente il flag su true e ottiene il suo valore precedente 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. (metodo pubblico) | |
(C++11) (C++11) |
imposta atomicamente il valore della bandiera false Original: atomically sets the value of the 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. (funzione) |
(C++11) |
definisce i limiti di memoria di ordinazione per il data operazione atomica Original: defines memory ordering constraints for the given atomic operation The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (typedef) |