Go to the documentation of this file.
26 #ifndef __OgreDefaultWorkQueueTBB_H__
27 #define __OgreDefaultWorkQueueTBB_H__
29 #include "../OgreWorkQueue.h"
38 class _OgreExport DefaultWorkQueue :
public DefaultWorkQueueBase
51 virtual void _threadMain();
58 virtual void startup(
bool forceRestart =
true);
tbb::task_scheduler_init mTaskScheduler
OGRE_MUTEX(mRegisterRSMutex)
Synchronise registering threads with the RenderSystem.
virtual void shutdown()
Shut down the queue.
DefaultWorkQueue(const String &name=StringUtil::BLANK)
virtual void startup(bool forceRestart=true)
Start up the queue with the options that have been set.
static const String BLANK
Constant blank string, useful for returning by ref where local does not exist.
tbb::task_group mTaskGroup
void _registerThreadWithRenderSystem()
Register the current thread with the rendersystem.
virtual ~DefaultWorkQueue()
std::set< tbb::tbb_thread::id > mRegisteredThreads
virtual void notifyWorkers()
Notify workers about a new request.
Copyright © 2012 Torus Knot Software Ltd

This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.