Espacios de nombres
Variantes
Acciones

ATOMIC_*_LOCK_FREE

De cppreference.com
< c‎ | atomic

 
 
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.
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.
ATOMIC_***_LOCK_FREE
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.
 
Definido en la cabecera <stdatomic.h>
#define ATOMIC_BOOL_LOCK_FREE     /* implementation-defined */

#define ATOMIC_CHAR_LOCK_FREE     /* implementation-defined */
#define ATOMIC_CHAR16_T_LOCK_FREE /* implementation-defined */
#define ATOMIC_CHAR32_T_LOCK_FREE /* implementation-defined */
#define ATOMIC_WCHAR_T_LOCK_FREE  /* implementation-defined */
#define ATOMIC_SHORT_LOCK_FREE    /* implementation-defined */
#define ATOMIC_INT_LOCK_FREE      /* implementation-defined */
#define ATOMIC_LONG_LOCK_FREE     /* implementation-defined */
#define ATOMIC_LLONG_LOCK_FREE    /* implementation-defined */

#define ATOMIC_POINTER_LOCK_FREE  /* implementation-defined */
(desde C11)
Se expande para cualquiera de los dos 0, 1 o 2 que indican la propiedad sin bloqueo de los correspondientes tipos atómicos (y sin signo) .
Original:
Expands to either 0, 1 or 2 which indicate the lock-free property of the corresponding atomic types (both signed and unsigned).
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Valor
Original:
Value
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Explanation
0
El tipo atómico no es nunca sin bloqueo
Original:
The atomic type is never lock-free
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
1
El tipo atómico es a veces sin bloqueo
Original:
The atomic type is sometimes lock-free
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
2
El tipo atómico es siempre sin bloqueo
Original:
The atomic type is always lock-free
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.