32#if defined(PTL_USE_TBB)
33# include <tbb/global_control.h>
34# include <tbb/task_group.h>
35# include <tbb/task_scheduler_init.h>
42#if defined(PTL_USE_TBB)
58 template <
typename FuncT>
59 inline void run(FuncT f)
64 template <
typename FuncT>
102 template <
typename Tp>
static ThreadData *& GetInstance()
VUserTaskQueue * current_queue
std::deque< Tp > TaskStack
TaskStack< VUserTaskQueue * > queue_stack
@ max_allowed_parallelism
global_control(parameter p, size_t value)
static size_t active_value(parameter param)
void run_and_wait(FuncT f)
tbb::task_group tbb_task_group_t
tbb::global_control tbb_global_control_t