Gimp.get_num_processors

@returns(int)
def get_num_processors():
    # Python 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