tbb_thread クラス

インテル® TBB 3.0 で、std::thread クラスを定義するヘッダー tbb/compat/thread が追加されました。以前のバージョンには、tbb_thread クラスを定義するヘッダー tbb/tbb_thread.h がありました。古いヘッダーと名前は利用できますが、次の表に示すように変更されました。

古い名前の変更

エンティティー

古い名前

新しい名前

ヘッダー

tbb/tbb_thread.h

tbb/compat/thread

識別子

tbb::tbb_thread

std::thread

tbb::this_tbb_thread

std::this_thread

tbb::this_tbb_thread::sleep

std::this_tbb_thread::sleep_for

この変更のほとんどは、ライブラリーの C++11 機能の実装方法 (std 名前空間) の変更に伴うものです。sleep から sleep_for への変更は、C++11 Working Draft での変更に伴います。

関連情報