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