Scheduler class
#include <concurrency/Scheduler.h>
Public static variables
- static const auto MainThreadId
- the MainThreadId. Useful to check who is running the job.
Public static functions
- static auto Instance() -> Scheduler&
- static auto ConcurrencyLevel() -> auto
Public functions
- auto RunningWorkersQuantity() -> size_t
Function documentation
static auto concurrency:: Scheduler:: ConcurrencyLevel()
| Returns | the number of concurrent hardware threads available. usually is the number of cpucores*2 |
|---|