Code::Blocks
SVN r11506
|
All tasks are added to one of these. It'll also save the autodelete value. More...
Public Member Functions | |
cbThreadedTaskElement (cbThreadedTask *_task=nullptr, bool _autodelete=false) | |
void | Delete () |
It'll delete the task only if it was set to. More... | |
Public Attributes | |
cbThreadedTask * | task |
bool | autodelete |
All tasks are added to one of these. It'll also save the autodelete value.
Definition at line 210 of file cbthreadpool.h.
|
inline |
Definition at line 212 of file cbthreadpool.h.
|
inline |
It'll delete the task only if it was set to.
Definition at line 220 of file cbthreadpool.h.
Referenced by cbThreadPool::AbortAllTasks(), cbThreadPool::cbWorkerThread::Entry(), and cbThreadPool::~cbThreadPool().
bool cbThreadPool::cbThreadedTaskElement::autodelete |
Definition at line 230 of file cbthreadpool.h.
cbThreadedTask* cbThreadPool::cbThreadedTaskElement::task |
Definition at line 229 of file cbthreadpool.h.
Referenced by cbThreadPool::cbWorkerThread::Entry().