|
DSN_API | task_worker (task_worker_pool *pool, task_queue *q, int index, task_worker *inner_provider) |
|
DSN_API void | start () |
|
DSN_API void | stop () |
|
virtual DSN_API void | loop () |
|
const std::string & | name () const |
|
int | index () const |
|
int | native_tid () const |
|
task_worker_pool * | pool () const |
|
task_queue * | queue () const |
|
DSN_API const threadpool_spec & | pool_spec () const |
|
|
template<typename T > |
static task_worker * | create (task_worker_pool *pool, task_queue *q, int index, task_worker *inner_provider) |
|
static DSN_API task_worker * | current () |
|
static DSN_API void | set_name (const char *name) |
|
static DSN_API void | set_priority (worker_priority_t pri) |
|
static DSN_API void | set_affinity (uint64_t affinity) |
|
|
static DSN_API join_point< void, task_worker * > | on_start |
|
static DSN_API join_point< void, task_worker * > | on_create |
|
The documentation for this class was generated from the following file: