Get the number of logical CPU cores available.
Defined in <SDL3/SDL_cpuinfo.h>
int SDL_GetNumLogicalCPUCores(void);
(int) Returns the total number of logical CPU cores. On CPUs that include technologies such as hyperthreading, the number of logical cores may be more than the number of physical cores.
It is safe to call this function from any thread.
This function is available since SDL 3.1.3.