Atomic operations library - cppreference.com
Espaços nominais
Variantes
Ações

Atomic operations library

De cppreference.com
< cpp


 
 
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.
 
A biblioteca atômica fornece componentes para refinadas operações atômicas que permitem programação concorrente lockless. Cada operação atômica é indivisível em relação a qualquer outra operação atômica que envolve o mesmo objeto. Objetos atômicos são os únicos objetos C + + livres de raças de dados, isto é, se uma thread escreve para um atômica enquanto outro segmento lê-lo, o comportamento é bem definido.
Original:
The atomic library provides components for fine-grained atomic operations allowing for lockless concurrent programming. Each atomic operation is indivisible with regards to any other atomic operation that involves the same object. Atomic objects are the only C++ objects free of data races; that is, if one thread writes to an atomic while another thread reads from it, the behavior is well-defined.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.