12#ifndef JOB_INITALIZATION_TOKEN_HPP
13#define JOB_INITALIZATION_TOKEN_HPP
17 struct JobSystemMemoryRequirements;
18 struct InitializationToken;
20 InitializationToken
Initialize(
const JobSystemMemoryRequirements& memory_requirements,
void*
const memory)
noexcept;
InitializationToken Initialize(const JobSystemMemoryRequirements &memory_requirements={}, void *const memory=nullptr) noexcept
Sets up the Job system and creates all the worker threads. The thread that calls 'Job::Initialize' is...
InitializationToken(const unsigned int num_workers_created)
friend InitializationToken Initialize(const JobSystemMemoryRequirements &memory_requirements, void *const memory) noexcept
Sets up the Job system and creates all the worker threads. The thread that calls 'Job::Initialize' is...
unsigned int num_workers_created
The memory requirements for a given configuration JobSystemCreateOptions.