std::thread::id
提供: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. |
| Defined in header <thread>
|
||
| class thread::id; |
(C + + 11以来) | |
クラス
thread::idは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.
このクラスのインスタンスは、任意のスレッドを表していない特殊な個別の値を保持することができる。スレッドが終了したら、
std::thread::idの値が別のスレッドによって再利用されるかもしれません.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.
このクラスは、連想コンテナのキーとして使用するために設計され、両方が注文し、順不同.
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.
目次 |
[編集] メンバ関数
| スレッドを表していないIDを作成します 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. (パブリックメンバ関数) | |
[編集] 非メンバ関数
| 2 thread::idオブジェクトを比較しますOriginal: 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. (機能) | |
thread::idオブジェクトをシリアライズしますOriginal: 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. (関数テンプレート) | |
[編集] ヘルパークラス
| のstd ::ハッシュを専門としています 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. (クラステンプレートの特殊化の2つの値を比較します) | |
[編集] も参照してください
| 'スレッドのIDを返します 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. (パブリックメンバ関数) | |