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>| Definido no cabeçalho <atomic>
|
||
void clear( std::memory_order order = std::memory_order_seq_cst ) volatile; |
(1) | (desde C++11) |
void clear( std::memory_order order = std::memory_order_seq_cst ); |
(2) | (desde C++11) |
Atomicamente muda o estado de um std::atomic_flag para limpar (
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.
Parâmetros
| order | - | o sycnhronization memória de ordenação para esta operação
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. |
Exceções
Veja também
atomicamente define o sinalizador para true e obtém seu valor anterior 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. (função pública membro) | |
(C++11) (C++11) |
atomicamente define o valor da bandeira para 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. (função) |
(C++11) |
define restrições de memória de encomenda para a operação dada atômica 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) |