#include <job_init_token.hpp>
Definition at line 22 of file job_init_token.hpp.
◆ InitializationToken()
Job::InitializationToken::InitializationToken |
( |
const unsigned int |
num_workers_created | ) |
|
|
inlineprivate |
◆ Initialize
Sets up the Job system and creates all the worker threads. The thread that calls 'Job::Initialize' is considered the main thread.
- Parameters
-
memory_requirements | The customization parameters to initialize the system with. To be gotten from Job::MemRequirementsForConfig . |
memory | Must be memory_requirements.byte_size in size and with alignment memory_requirements.alignment . If nullptr then the system heap will be used. |
- Returns
- The
InitializationToken
can be used by other subsystem to verify that the Job System has been initialized.
◆ num_workers_created
unsigned int Job::InitializationToken::num_workers_created |
The documentation for this struct was generated from the following file: