Espacios de nombres
Variantes
Acciones

atomic_is_lock_free

De cppreference.com
< c‎ | atomic
Definido en la cabecera <stdatomic.h>
_Bool atomic_is_lock_free( const volatile A* obj );
(desde C11)
Determina si el objeto atómica apuntada por obj se lleva a cabo sin bloqueo .
Original:
Determines if the atomic object pointed to by obj is implemented lock-free.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Este es un función genérica definida para todos los tipos de objetos atómicos. A es el tipo de un objeto atómico .
Original:
This is a función genérica defined for all atomic object types. A is the type of 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.

[editar] Parámetros

obj -
puntero al objeto de inspeccionar atómica
Original:
pointer to the atomic object to inspect
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[editar] Valor de retorno

true si el objeto atómico es sin bloqueo, false de otra manera .
Original:
true if the atomic object is lock-free, false otherwise.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[editar] Ver también

indica que el tipo dado atómica es libre de bloqueo
Original:
indicates that the given atomic type is lock-free
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(macro de constante) [editar]
Documentación de C++ para atomic_is_lock_free