|
|
std::atomic_uint32_t | state |
| | Current state of the job Consist of upper and bottom part. Least significant bits = special purpose. Most significant bits = state. JobCore states: x | edge count Submitted | edge count, must be 0 in order to move to Processing Processing | 0, pushed into one of the worker jobs queues Executing | worker_idx of the worker executing the job Done | 0, wait() stops when job reaches this state.
|
| |
|
JobPriority | prio |
| | Job priority.
|
| |
|
JobCreationFlags | flags |
| | Job flags.
|
| |
|
JobEdges | edges |
| | Dependency graph.
|
| |
|
std::function< void()> | func |
| | Function to execute when running the job.
|
| |
|
uint32_t | idx |
| | Allocated items: Index in the list. Deleted items: Index of the next deleted item in the list.
|
| |
|
ItemData | data |
| | Item data.
|
| |
The documentation for this struct was generated from the following file:
- /home/runner/work/gaia-ecs/gaia-ecs/include/gaia/mt/jobmanager.h