Espacios de nombres
Variantes
Acciones

Atomic operations library

De cppreference.com
< cpp


 
 
Operaciones de biblioteca 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)
Funciones
Original:
Functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Banderas 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.
Inicialización
Original:
Initialization
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Memoria pedido
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.
 
La biblioteca atómico proporciona componentes de grano fino operaciones atómicas que permiten la programación concurrente sin bloqueo. Cada operación atómica es indivisible con respecto a cualquier otra operación atómica que implica el mismo objeto. Objetos atómicos son los únicos objetos C + + libres de las razas de datos, es decir, si uno escribe en un hilo atómico mientras otro hilo lee de la misma, el comportamiento es bien 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.
Defined in header <atomic>

Contenido

Tipos atómicos
Original:
Atomic 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)
plantilla de clase atómica y especializaciones para los tipos bool, integral y puntero
Original:
atomic class template and specializations for bool, integral, and pointer types
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(plantilla de clase) [editar]
comprueba si las operaciones del tipo atómico son sin bloqueo
Original:
checks if the atomic type's operations are lock-free
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(plantilla de función) [editar]
Operaciones sobre tipos atómicos
Original:
Operations on atomic types
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
atómicamente sustituye el valor del objeto atómico con un argumento no atómica
Original:
atomically replaces the value of the atomic object with a non-atomic argument
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(plantilla de función) [editar]
atómicamente obtiene el valor almacenado en un objeto atómico
Original:
atomically obtains the value stored in an atomic object
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(plantilla de función) [editar]
atómicamente reemplaza el valor del objeto atómico con no atómico argumento y devuelve el valor antiguo de la atómica
Original:
atomically replaces the value of the atomic object with non-atomic argument and returns the old value of the atomic
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(plantilla de función) [editar]
atómicamente compara el valor del objeto atómica con no atómica argumento y realiza intercambio atómico si carga igual o atómica si no
Original:
atomically compares the value of the atomic object with non-atomic argument and performs atomic exchange if equal or atomic load if not
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(plantilla de función) [editar]
agrega un valor no atómico a un objeto atómico y obtiene el valor anterior de la atómica
Original:
adds a non-atomic value to an atomic object and obtains the previous value of the atomic
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(plantilla de función) [editar]
resta un valor no atómico de un objeto atómico y obtiene el valor anterior de la atómica
Original:
subtracts a non-atomic value from an atomic object and obtains the previous value of the atomic
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(plantilla de función) [editar]
reemplaza el objeto atómico con el resultado de la operación lógica AND con un argumento no atómica y obtiene el valor anterior de la atómica
Original:
replaces the atomic object with the result of logical AND with a non-atomic argument and obtains the previous value of the atomic
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(plantilla de función) [editar]
reemplaza el objeto atómico con el resultado de la operación lógica OR con un argumento no atómica y obtiene el valor anterior de la atómica
Original:
replaces the atomic object with the result of logical OR with a non-atomic argument and obtains the previous value of the atomic
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(plantilla de función) [editar]
reemplaza el objeto atómico con el resultado de la lógica XOR con un argumento no atómica y obtiene el valor anterior de la atómica
Original:
replaces the atomic object with the result of logical XOR with a non-atomic argument and obtains the previous value of the atomic
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(plantilla de función) [editar]
Bandera de tipo y las operaciones
Original:
Flag type and operations
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
el bloqueo libre de tipo atómico booleano
Original:
the lock-free boolean atomic type
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(clase) [editar]
atómicamente establece el indicador a true y devuelve su valor anterior
Original:
atomically sets the flag to true and returns 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.

(función) [editar]
atómicamente establece el valor de la bandera de 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.

(función) [editar]
Inicialización
Original:
Initialization
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
non-atomic initialization of a default-constructed atomic object
(plantilla de función) [editar]
inicialización de una variable constante atómica de duración de almacenamiento estático
Original:
constant initialization of an atomic variable of static storage duration
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(función macro) [editar]
initializes an std::atomic_flag to false
(macro constante) [editar]
Sincronización de la memoria de pedido
Original:
Memory synchronization ordering
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
define las limitaciones de memoria de pedido para la operación 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) [editar]
quita el objeto especificado del árbol de dependencias std::memory_order_consume
Original:
removes the specified object from the std::memory_order_consume dependency tree
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(plantilla de función) [editar]
memoria genérica depende del orden de sincronización de la cerca primitiva
Original:
generic memory order-dependent fence synchronization primitive
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(función) [editar]
valla entre un hilo y un manejador de señales ejecuta en el mismo subproceso
Original:
fence between a thread and a signal handler executed in the same thread
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(función) [editar]