99 opts.
name = std::move(job_name);
Core threading foundation of the thread system library.
Options for submitting jobs to the thread pool.
submit_options()=default
Default constructor with all defaults.
static submit_options all()
Create options for wait_all batch operation.
bool wait_any
If true, return the first completed result.
submit_options(std::string job_name)
Construct with job name only.
bool wait_all
If true, wait for all tasks and return results directly.
std::string name
Optional name for the job (useful for debugging/tracing).
static submit_options named(std::string job_name)
Create options for a named job.
static submit_options any()
Create options for wait_any batch operation.