Espacios de nombres
Variantes
Acciones

tss_set

De cppreference.com
< c‎ | thread

 
 
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.
 
Defined in header <threads.h>
int tss_set( tss_t tss_id, void *val );
(desde C11)
Establece el valor del almacenamiento de hilo específico identificado por tss_id para el subproceso actual para val .
Original:
Sets the value of the thread-specific storage identified by tss_id for the current thread to val.
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

tss_id -
identifica el almacenamiento de hilo específico para modificar
Original:
identifies the thread-specific storage to modify
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
val -
valor para establecer hilo específico de almacenamiento
Original:
value to set thread-specific storage to
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

thrd_success de tener éxito, de lo contrario thrd_error .
Original:
thrd_success if successful, thrd_error 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

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) [edit]