![]() |
Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
|
Worker thread: process the taskManager queues until killed. More...


Public Member Functions | |
| WorkerThread (TaskManager::Impl &taskManager) | |
| ~WorkerThread () | |
| void | Wake () |
| Wake the worker. More... | |
Public Member Functions inherited from Threading::Thread | |
| Thread ()=default | |
| Thread (const Thread &)=delete | |
| Thread (Thread &&)=delete | |
| template<typename T , void(T::*)() callable> | |
| void | Start (T *object) |
Protected Member Functions | |
| void | RunUntilDeath () |
Protected Member Functions inherited from Threading::Thread | |
| ~Thread () | |
Protected Attributes | |
| std::mutex | m_Mutex |
| std::condition_variable | m_ConditionVariable |
| TaskManager::Impl & | m_TaskManager |
Protected Attributes inherited from Threading::Thread | |
| std::thread | m_Thread |
| std::atomic< bool > | m_Kill = false |
Additional Inherited Members | |
Static Public Member Functions inherited from Threading::Thread | |
| template<typename T , void(T::*)() callable> | |
| static void | DoStart (T *object) |
Worker thread: process the taskManager queues until killed.
| Threading::WorkerThread::WorkerThread | ( | TaskManager::Impl & | taskManager | ) |
| Threading::WorkerThread::~WorkerThread | ( | ) |
|
protected |
| void Threading::WorkerThread::Wake | ( | ) |
Wake the worker.
|
protected |
|
protected |
|
protected |