ftwin 0.8.10
|
System-related utility functions. More...
Go to the source code of this file.
Functions | |
unsigned int | ft_get_cpu_cores (void) |
Get the number of available CPU cores on the current system. | |
System-related utility functions.
Definition in file ft_system.h.
unsigned int ft_get_cpu_cores | ( | void | ) |
Get the number of available CPU cores on the current system.
This function attempts to determine the number of online processors. It serves as a sensible default for setting the number of worker threads.
Definition at line 33 of file ft_system.c.