CoreFlow 1.0.0
A modern orchestration and execution runtime
Loading...
Searching...
No Matches
vx_threadpool_worker_t Struct Reference

The structure given to each threadpool worker during execution. More...

#include <vx_internal.h>

Public Attributes

vx_queue_tqueue
 The work queue.
 
vx_thread_t handle
 The handle to the worker thread.
 
uint32_t index
 The index of this worker in the pool.
 
vx_bool active
 Indicates whether this worker is currently operating.
 
vx_threadpool_f function
 The worker function.
 
void * arg
 The user argument to the thread.
 
vx_value_set_tdata
 The data information from the client.
 
struct vx_threadpool_tpool
 Pointer to the top level structure.
 
vx_perf_t perf
 Performance capture variable.
 

Detailed Description

The structure given to each threadpool worker during execution.

Member Data Documentation

◆ active

vx_bool vx_threadpool_worker_t::active

Indicates whether this worker is currently operating.

◆ arg

void* vx_threadpool_worker_t::arg

The user argument to the thread.

◆ data

vx_value_set_t* vx_threadpool_worker_t::data

The data information from the client.

◆ function

vx_threadpool_f vx_threadpool_worker_t::function

The worker function.

◆ handle

vx_thread_t vx_threadpool_worker_t::handle

The handle to the worker thread.

◆ index

uint32_t vx_threadpool_worker_t::index

The index of this worker in the pool.

◆ perf

vx_perf_t vx_threadpool_worker_t::perf

Performance capture variable.

◆ pool

struct vx_threadpool_t* vx_threadpool_worker_t::pool

Pointer to the top level structure.

◆ queue

vx_queue_t* vx_threadpool_worker_t::queue

The work queue.