Function SDL_GetNumLogicalCPUCores
pub unsafe extern "C" fn SDL_GetNumLogicalCPUCores() -> i32
Available on crate feature
dep_sdl3
only.Expand description
Get the number of logical CPU cores available.
§Return value
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.
§Thread safety
It is safe to call this function from any thread.
§Availability
This function is available since SDL 3.2.0.