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