Struct tbb_executor¶
Defined in File tbb_executor.hpp
Struct Documentation¶
-
struct
concore::v1::tbb_executor¶ Executor that sends tasks to TBB.
This executors wraps the task execution from TBB.
This executor provides just basic support for executing tasks, but not other features like cancellation, waiting for tasks, etc.
The executor takes as constructor parameter the priority of the task to be used when enqueueing the task.
Two executor objects are equivalent if their priorities match.
Public Types
Public Functions
-
tbb_executor(priority prio = prio_normal)¶ Constructor.
Friends
-
friend bool
operator==(tbb_executor l, tbb_executor r)¶ Equality operator.
-
friend bool
operator!=(tbb_executor l, tbb_executor r)¶ Inequality operator.
-