std::thread
Da cppreference.com.
|
|
Questa pagina è stata tradotta in modo automatico dalla versione in ineglese della wiki usando Google Translate.
La traduzione potrebbe contenere errori e termini strani. Muovi il puntatore sopra al testo per vedere la versione originale. Puoi aiutarci a correggere gli gli errori. Per ulteriori istruzioni clicca qui. |
| Elemento definito nell'header <thread>
|
||
class thread; |
(dal C++11) | |
Il
thread classe rappresenta un singolo thread di esecuzione. Discussioni più parti di consentire l'esecuzione di codice in modo asincrono e contemporaneamente.Original:
The class
thread represents un singolo thread di esecuzione. Threads allow multiple pieces of code to run asynchronously and simultaneously.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
Membri tipi
Membro tipo
Original: Member type The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
Definition |
native_handle_type
|
Implementazione definita
Original: implementation-defined The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
Membri classi
rappresenta la' id di un filo Original: represents the id of a thread The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (membro pubblico classe) | |
Membri funzioni
costruisce nuovo oggetto thread Original: constructs new thread object The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (metodo pubblico) | |
distrugge l'oggetto thread, filo conduttore deve essere unito o staccato Original: destructs the thread object, underlying thread must be joined or detached The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (metodo pubblico) | |
| moves the thread object (metodo pubblico) | |
Original: Observers The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. | |
verifica se il filo è unibili, cioè potenzialmente in esecuzione nel contesto parallelo Original: checks whether the thread is joinable, i.e. potentially running in parallel context The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (metodo pubblico) | |
restituisce l'id' del filo Original: returns the id of the thread The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (metodo pubblico) | |
restituisce l'implementazione sottostante definito handle di thread Original: returns the underlying implementation-defined thread handle The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (metodo pubblico) | |
[statico] |
restituisce il numero di thread simultanei supportati dall'implementazione Original: returns the number of concurrent threads supported by the implementation The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (metodo pubblico statico) |
Original: Operations The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. | |
attesa di un thread per terminare la sua esecuzione Original: waits for a thread to finish its execution The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (metodo pubblico) | |
consente il filo di eseguire indipendentemente dalla impugnatura filo Original: permits the thread to execute independently from the thread handle The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (metodo pubblico) | |
swap due oggetti filo Original: swaps two thread objects The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (metodo pubblico) | |
Non membri funzioni
(C++11) |
specializzata l'algoritmo std::swap Original: specializes the std::swap algorithm The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (funzione di modello) |