std::thread::id
Aus cppreference.com
|
|
This page has been machine-translated from the English version of the wiki using Google Translate.
The translation may contain errors and awkward wording. Hover over text to see the original version. You can help to fix errors and improve the translation. For instructions click here. |
<metanoindex/>
<tbody> </tbody>| definiert in Header <thread>
|
||
class thread::id; |
(seit C++11) | |
Die Klasse
thread::id ist ein leichtes, trivial kopierbar Klasse, die als eindeutige Kennung std::thread Objekte dient . 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.
Instanzen dieser Klasse können auch halten Sie die speziellen eindeutigen Wert, der es sich nicht jeden Thread. Sobald ein Thread beendet ist, kann der Wert der
std::thread::id von einem anderen Thread verwendet werden .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.
Diese Klasse für die Verwendung als Schlüssel in assoziativen Containern ausgelegt ist, ließ beide und ungeordnete .
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.
Member-Funktionen
konstruiert eine ID, die es sich nicht einen Faden 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. (öffentliche Elementfunktion) | |
Non-Member-Funktionen
vergleicht zwei thread::id ObjekteOriginal: 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. (Funktion) | |
serialisiert thread::id ObjektOriginal: 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. (Funktions-Template) | |
Helper-Klassen
spezialisiert 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. (class Template-Spezialisierung) | |
Siehe auch
| liefert die ID des Threads (öffentliche Elementfunktion) | |