Namespace
Varianti

thread_join

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 thrd_join( thrd_t thr, int *res );
(dal C11)
Blocca il thread corrente finché il thread identificato da thr termine dell'esecuzione.
Original:
Blocks the current thread until the thread identified by thr finishes execution.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Il codice di risultato del filo è messo nella posizione puntata da res.
Original:
The result code of the thread is put to the location pointed to by res.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[modifica] Parametri

thr -
identificatore del thread di aderire
Original:
identifier of the thread to join
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
res -
posizione in cui inserire il codice risultato
Original:
location to put the result code to
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.

[modifica] Vedi anche

stacca un filo
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.

(funzione) [edit]
termina il thread chiamante
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.

(funzione) [edit]