26 #ifndef __OgreDefaultWorkQueueTBB_H__
27 #define __OgreDefaultWorkQueueTBB_H__
29 #include "../OgreWorkQueue.h"
38 class _OgreExport DefaultWorkQueue :
public DefaultWorkQueueBase
42 virtual ~DefaultWorkQueue();
51 virtual void _threadMain();
55 virtual void shutdown();
58 virtual void startup(
bool forceRestart =
true);
61 void _registerThreadWithRenderSystem();
64 virtual void notifyWorkers();
tbb::task_scheduler_init mTaskScheduler
tbb::task_group mTaskGroup
static const String BLANK
Constant blank string, useful for returning by ref where local does not exist.
std::set< tbb::tbb_thread::id > mRegisteredThreads