Ctrl-Z
一个多线程机器人运动控制强化学习部署框架
载入中...
搜索中...
未找到
z::AbstractScheduler< CTS >::TCB结构体 参考

Task Control Block 更多...

#include <AbstractScheduler.hpp>

Public 成员函数

 TCB ()
 Construct a new TCB object
 

Public 属性

std::vector< WorkerType * > workers
 worker list
 
std::vector< std::function< void(void)> > workerFuncBegins
 worker functions, used for lambda functions
 
std::vector< std::function< void(void)> > workerFuncRuns
 
std::vector< std::function< void(void)> > workerFuncEnds
 
size_t div
 division control of the task
 
std::atomic< size_t > cnt
 division counter of the task
 
std::thread::id threadId
 thread id of the task
 
std::string TaskName
 task name
 
size_t TaskId
 task id
 
std::thread thread
 thread of the task
 
bool isRunning
 check if the task is running
 
std::atomic< bool > NewRun
 for generating a new pulse
 
std::mutex PauseMutex
 
std::condition_variable PauseLock
 
std::atomic< bool > Pause
 

详细描述

template<CTSPair ... CTS>
struct z::AbstractScheduler< CTS >::TCB

Task Control Block


该结构体的文档由以下文件生成: