fastdo
0.5.12
|
#include <threads.hpp>
Public 成员函数 | |
void | get () |
void | exec (RunableInvoker< void > *ivk) |
Public 成员函数 继承自 winux::TaskCtx | |
bool | wait (double sec=-1) |
等待任务结束 更多... | |
void | updateStatus (TaskStatus st, bool isNotifyAll=false) |
更新运行状态 更多... | |
void | rePost () |
重新投入线程池队列中 更多... | |
静态 Public 成员函数 | |
template<typename... _ArgType> | |
static SharedPointer< TaskCtxT > | Create (_ArgType &&...arg) |
Protected 成员函数 | |
TaskCtxT () | |
Protected 成员函数 继承自 winux::TaskCtx | |
TaskCtx () | |
virtual | ~TaskCtx () |
额外继承的成员函数 | |
Public 类型 继承自 winux::TaskCtx | |
enum | TaskStatus { taskPending, taskRunning, taskStop } |
Public 属性 继承自 winux::TaskCtx | |
Mutex | mtxTask |
Condition | cdtTask |
TaskStatus | status |
ThreadPool * | pool |
WeakPointer< TaskCtx > | weakThis |
SimplePointer< Runable > | poolRunable |
在文件 threads.hpp 第 595 行定义.
|
inlineprotected |
在文件 threads.hpp 第 615 行定义.
|
inlinestatic |
在文件 threads.hpp 第 598 行定义.
|
inline |
在文件 threads.hpp 第 610 行定义.
|
inline |
在文件 threads.hpp 第 605 行定义.