Espaços nominais
Variantes
Ações

atomic_flag_clear, atomic_flag_clear_explicit

De cppreference.com
< c | atomic

<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.
Macros
Original:
Macros
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
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.
 
<tbody> </tbody>
Definido no cabeçalho <stdatomic.h>
void atomic_flag_clear( volatile atomic_flag* obj );
(1)
void atomic_flag_clear_explicit( volatile atomic_flag* obj, memory_order order );
(2)
atomicamente muda o estado de um atomic_flag apontado por obj para limpar (false). A primeira versão da memória de acordo com as ordens acessa memory_order_seq_cst, a segunda versão da memória de acordo com as ordens acessa 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.

Parâmetros

obj -
ponteiro para o objeto bandeira atômica para modificar
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 -
a sincronização da memória de ordenação para esta operação: todos os valores são permitidos
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.

Valor de retorno

(Nenhum)
Original:
(none)
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Veja também

define um atomic_flag a verdadeira e retorna o valor antigo
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.

(função) [edit]
C++ documentation for atomic_flag_clear, atomic_flag_clear_explicit