Espaços nominais
Variantes
Ações

std::atomic_flag::clear

De cppreference.com

<metanoindex/>

 
 
Biblioteca operações atômica
Tipos
Original:
Types
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
(C++11)
Funções
Original:
Functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Bandeiras atômicas
Original:
Atomic flags
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Inicialização
Original:
Initialization
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Memória de encomenda
Original:
Memory ordering
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
 
std::atomic_flag
Funções de membro
Original:
Member functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
atomic_flag::atomic_flag
atomic_flag::operator=
atomic_flag::clear
atomic_flag::test_and_set
 
<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.

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

noexcept specification:  
<tbody> </tbody>
noexcept
  (desde C++11)

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) [edit]
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) [edit]
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) [edit]