std::thread::id
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. |
<metanoindex/>
<tbody> </tbody>| Elemento definito nell'header <thread>
|
||
class thread::id; |
(dal C++11) | |
Il
thread::id classe è un peso leggero, classe banalmente copiabile che funge da identificativo univoco di oggetti std::thread. Original:
The class
thread::id is a lightweight, trivially copyable class that serves as a unique identifier of std::thread objects. 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.
Le istanze di questa classe possono anche tenere distinto il valore speciale che non rappresenta alcun filo. Una volta che un thread ha terminato, il valore di
std::thread::id può essere riutilizzato da un altro thread.Original:
Instances of this class may also hold the special distinct value that does not represent any thread. Once a thread has finished, the value of
std::thread::id may be reused by another thread.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.
Questa classe è progettato per essere utilizzato come chiave in contenitori associativi, sia ordinate e non.
Original:
This class is designed for use as key in associative containers, both ordered and unordered.
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 funzioni
costruisce un id che non rappresenta un filo Original: constructs an id that does not represent a 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) | |
Non membri funzioni
confronta due oggetti thread::idOriginal: compares two thread::id objectsThe text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (funzione) | |
serializza un oggetto thread::idOriginal: serializes a thread::id objectThe text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (funzione di modello) | |
Helper classi
specializzata std :: hash Original: specializes std::hash The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (classe modello di specializzazione) | |
Vedi anche
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) | |