BluFedora Job System v1.0.0
This is a C++ job system library for use in game engines.
job::Ctx Struct Reference

#include <job_api.hpp>

Inheritance diagram for job::Ctx:
job::internal::PrivateCtx

Public Attributes

Countertask_counter = nullptr
 The counter this task will decrement when done. More...
 
WorkerID current_worker = 0u
 The worker the current task is running on. More...
 
const char * task_name = 0u
 The debug name of the task. More...
 

Detailed Description

Definition at line 53 of file job_api.hpp.

Member Data Documentation

◆ task_counter

Counter* job::Ctx::task_counter = nullptr

The counter this task will decrement when done.

Definition at line 55 of file job_api.hpp.

Referenced by job::ParallelFor().

◆ current_worker

WorkerID job::Ctx::current_worker = 0u

The worker the current task is running on.

Definition at line 56 of file job_api.hpp.

◆ task_name

const char* job::Ctx::task_name = 0u

The debug name of the task.

Definition at line 57 of file job_api.hpp.

Referenced by job::ParallelFor().


The documentation for this struct was generated from the following file: