26#ifndef __OgreDefaultWorkQueueTBB_H__
27#define __OgreDefaultWorkQueueTBB_H__
29#include "../OgreWorkQueue.h"
38 class _OgreExport DefaultWorkQueue :
public DefaultWorkQueueBase
virtual void _threadMain()
Process the next request on the queue.
tbb::task_scheduler_init mTaskScheduler
virtual void startup(bool forceRestart=true)
Start up the queue with the options that have been set.
OGRE_MUTEX(mRegisterRSMutex)
Synchronise registering threads with the RenderSystem.
virtual ~DefaultWorkQueue()
std::set< tbb::tbb_thread::id > mRegisteredThreads
virtual void shutdown()
Shut down the queue.
tbb::task_group mTaskGroup
virtual void notifyWorkers()
Notify workers about a new request.
void _registerThreadWithRenderSystem()
Register the current thread with the rendersystem.
DefaultWorkQueue(const String &name=StringUtil::BLANK)
Reference-counted shared pointer, used for objects where implicit destruction is required.