スレッドの固有 ID。
class thread::id;
#include "tbb/compat/thread"
thread::id は、スレッドの生存期間を通じて常に固有なスレッドの ID 値です。特別な値 thread::id() は、実行のスレッドを表しません。インスタンスはすべて順序付けられます。
namespace std {
class thread::id {
public:
id();
template<typename charT, typename traits>
friend std::basic_ostream<charT, traits>&
operator<< (std::basic_ostream<charT, traits> &out, thread::id id)
friend bool operator==(thread::id x, thread::id y);
friend bool operator!=(thread::id x, thread::id y);
friend bool operator<(thread::id x, thread::id y);
friend bool operator<=(thread::id x, thread::id y);
friend bool operator>(thread::id x, thread::id y);
friend bool operator>=(thread::id x, thread::id y);
friend size_t tbb_hasher( const thread::id& id );
};
}