Namespace
Varianti

tss_create

Da cppreference.com.
< c‎ | thread

 
 
Discussione libreria di supporto
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.
Mutua esclusione
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.
Chiama una volta
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.
Condizioni variabili
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.
Thread-local storage
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_create( tss_t* tss_id, tss_dtor_t destructor );
(dal C11)
Crea un nuovo thread specifico di archiviazione e, facoltativamente, distruttore di negozi che viene chiamato quando il deposito viene eliminato. L'oggetto puntato da tss_id è impostato l'identificatore del nuovo filo-specifica stoccaggio.
Original:
Creates new thread-specific storage and optionally stores destructor which is called when the storage is deleted. The object pointed to by tss_id is set to the identifier of the new 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.

[modifica] Parametri

tss_id -
puntatore alla posizione di memoria per memorizzare l'identificatore del thread specifico stoccaggio
Original:
pointer to memory location to store the identifier of the 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.
destructor -
puntatore a una funzione da chiamare quando la memoria viene cancellata
Original:
pointer to a function to call when the storage is deleted
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[modifica] Valore di ritorno

thrd_success caso di successo, altrimenti 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.