Gimp.get_num_processors
function get_num_processors(): Number(gint) {
// Gjs wrapper for gimp_get_num_processors()
}
Returns the number of threads set explicitly by the user in the preferences. This information can be used by plug-ins wishing to follow user settings for multi-threaded implementations.
Since 3.0
- Returns
the preferred number of threads to use.