#include <WorkerThread.h>
◆ WorkerThread()
| sofa::simulation::WorkerThread::WorkerThread |
( |
DefaultTaskScheduler *const & |
taskScheduler, |
|
|
int |
index, |
|
|
const std::string & |
name = "Worker" |
|
) |
| |
◆ ~WorkerThread()
| sofa::simulation::WorkerThread::~WorkerThread |
( |
| ) |
|
◆ addTask()
| bool sofa::simulation::WorkerThread::addTask |
( |
Task * |
pTask | ) |
|
◆ getCurrentStatus()
| const Task::Status* sofa::simulation::WorkerThread::getCurrentStatus |
( |
| ) |
const |
|
inline |
◆ getId()
| const std::thread::id sofa::simulation::WorkerThread::getId |
( |
| ) |
const |
◆ getName()
| const char* sofa::simulation::WorkerThread::getName |
( |
| ) |
const |
|
inline |
◆ getTaskCount()
| std::uint64_t sofa::simulation::WorkerThread::getTaskCount |
( |
| ) |
|
|
inline |
◆ getTasksQueue()
| const std::deque<Task*>* sofa::simulation::WorkerThread::getTasksQueue |
( |
| ) |
|
|
inline |
◆ getType()
| int sofa::simulation::WorkerThread::getType |
( |
| ) |
const |
|
inline |
◆ workUntilDone()
| void sofa::simulation::WorkerThread::workUntilDone |
( |
Task::Status * |
status | ) |
|
◆ DefaultTaskScheduler