| 
    fastdo
    0.5.12
    
   | 
 
任务数据场景 更多...
#include <threads.hpp>


Public 类型 | |
| enum | TaskStatus { taskPending, taskRunning, taskStop } | 
Public 成员函数 | |
| bool | wait (double sec=-1) | 
| 等待任务结束  更多... | |
| void | updateStatus (TaskStatus st, bool isNotifyAll=false) | 
| 更新运行状态  更多... | |
| void | rePost () | 
| 重新投入线程池队列中  更多... | |
Public 属性 | |
| Mutex | mtxTask | 
| Condition | cdtTask | 
| TaskStatus | status | 
| ThreadPool * | pool | 
| WeakPointer< TaskCtx > | weakThis | 
| SimplePointer< Runable > | poolRunable | 
Protected 成员函数 | |
| TaskCtx () | |
| virtual | ~TaskCtx () | 
任务数据场景
在文件 threads.hpp 第 529 行定义.
| 枚举值 | |
|---|---|
| taskPending | |
| taskRunning | |
| taskStop | |
在文件 threads.hpp 第 531 行定义.
      
  | 
  inlineprotected | 
在文件 threads.hpp 第 563 行定义.
      
  | 
  inlineprotectedvirtual | 
在文件 threads.hpp 第 564 行定义.
      
  | 
  inline | 
重新投入线程池队列中
在文件 threads.hpp 第 738 行定义.
      
  | 
  inline | 
      
  | 
  inline | 
| Condition winux::TaskCtx::cdtTask | 
在文件 threads.hpp 第 539 行定义.
| Mutex winux::TaskCtx::mtxTask | 
在文件 threads.hpp 第 538 行定义.
| ThreadPool* winux::TaskCtx::pool | 
在文件 threads.hpp 第 541 行定义.
| SimplePointer<Runable> winux::TaskCtx::poolRunable | 
在文件 threads.hpp 第 543 行定义.
| TaskStatus winux::TaskCtx::status | 
在文件 threads.hpp 第 540 行定义.
| WeakPointer<TaskCtx> winux::TaskCtx::weakThis | 
在文件 threads.hpp 第 542 行定义.