Variable Settings.maxThreads

The number of threads tha you want to use 0 means the number of cores that your processor has

struct Settings
{
  // ...
  uint maxThreads = 0u;
  // ...
}