ftwin 0.8.10
|
Implementation of system-related utility functions. More...
#include "ft_system.h"
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. | |
Implementation of system-related utility functions.
Definition in file ft_system.c.
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.