tbb_exception

概要

別のスレッドに移動できる例外。

構文

class tbb_exception;

ヘッダー

#include "tbb/tbb_exception.h"

説明

並列環境では、複数のスレッドに例外を伝えなければならないことがあります。これは、tbb_exception クラスの std::exception サブクラスでサポートされています。

メンバー

        namespace tbb {
            class tbb_exception: public std::exception {
                virtual tbb_exception* move() = 0;
                virtual void destroy() throw() = 0;
                virtual void throw_self() = 0;
                virtual const char* name() throw() = 0;
                virtual const char* what() throw() = 0;
            };  
        }

派生したクラスは、次のように抽象仮想メソッドを定義すべきです。