Espacios de nombres
Variantes
Acciones

Thread support library

De cppreference.com
< c
 
 
Tema Biblioteca de ayuda
Threads
Original:
Threads
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Exclusión mutua
Original:
Mutual exclusion
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Llame a la vez
Original:
Call once
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Las variables de condición
Original:
Condition variables
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Almacenamiento local de subprocesos
Original:
Thread-local storage
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
 
Si la constante __STDC_NO_THREADS__(C11) macro está definido por el compilador, el <threads.h> cabecera y todos los nombres que aquí no se proporcionan .
Original:
If the macro constant __STDC_NO_THREADS__(C11) is defined by the compiler, the header <threads.h> and all of the names listed here are not provided.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Contenido

[editar]Threads

Definido en el archivo de encabezado <threads.h>
thrd_t
un tipo de identificación de un hilo
Original:
a type identifying a thread
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
[editar]
crea un subproceso
Original:
creates a 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]
Comprueba si dos identificadores se refieren a la misma rosca
Original:
checks if two identifiers refer to 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]
obtiene el identificador del subproceso actual
Original:
obtains the current thread identifier
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]
suspende la ejecución del subproceso de la llamada para el período de tiempo dado
Original:
suspends execution of the calling thread for the given period of time
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]
yields the current time slice
(función)[editar]
termina el subproceso de llamada
Original:
terminates the calling 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]
desprende un hilo
Original:
detaches a 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]
bloquea hasta que un subproceso termina
Original:
blocks until a thread terminates
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]
indica un estado de error hilo
Original:
indicates a thread error status
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(constante)[editar]
thrd_start_t
(C11)
tipo de función de puntero pasado a thrd_create
Original:
function pointer type passed to thrd_create
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(typedef)[editar]

[editar]Exclusión mutua

Definido en el archivo de encabezado <threads.h>
mtx_t
mutex identificador
Original:
mutex identifier
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
[editar]
crea un mutex
Original:
creates a mutex
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]
bloquea hasta que cierres un mutex
Original:
blocks until locks a mutex
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]
bloquea hasta que quede un mutex o tiempo de espera
Original:
blocks until locks a mutex or times out
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]
bloquea un mutex o devoluciones sin bloquear si ya está bloqueado
Original:
locks a mutex or returns without blocking if already locked
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]
desbloquea un mutex
Original:
unlocks a mutex
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]
destruye un mutex
Original:
destroys a mutex
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]
(C++11)(C++11)(C++11)
define el tipo de un mutex
Original:
defines the type of a mutex
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(enum)[editar]
Llame a la vez
Original:
Call once
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
once_flag the type of the flag used by call_once [editar]
inicializa un once_flag
Original:
initializes a once_flag
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(constante de macro)[editar]
llama a una función exactamente una vez
Original:
calls a function exactly once
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]

[editar]Las variables de condición

Definido en el archivo de encabezado <threads.h>
cnd_t
condición variable de identificación
Original:
condition variable identifier
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
crea una variable de condición
Original:
creates a condition variable
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]
desbloquea un hilo bloqueado en una variable de condición
Original:
unblocks one thread blocked on a condition variable
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]
Desbloquea todos los hilos bloqueados en una variable de condición
Original:
unblocks all threads blocked on a condition variable
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]
bloques en una variable de condición
Original:
blocks on a condition variable
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]
bloques en una condición variable, con un tiempo de espera
Original:
blocks on a condition variable, with a timeout
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]
destruye una variable de condición
Original:
destroys a condition variable
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]

[editar]Almacenamiento local de subprocesos

Definido en el archivo de encabezado <threads.h>
hilo macro tipo local
Original:
thread local type macro
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(constante de macro)[editar]
tss_t
subproceso específico de puntero de almacenaje
Original:
thread-specific storage pointer
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
[editar]
número máximo de veces destructores son llamados
Original:
maximum number of times destructors are called
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(constante de macro)[editar]
tss_dtor_t function pointer type used for TSS destructor [editar]
creates thread-specific storage pointer with a given destructor
(función)[editar]
(C11)
lee de hilo específico de almacenamiento
Original:
reads from thread-specific storage
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]
(C11)
escribir en hilo específico de almacenamiento
Original:
write to thread-specific storage
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]
libera los recursos mantenidos por un determinado hilo específico del puntero
Original:
releases the resources held by a given thread-specific pointer
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]
close