Commit 26a238c5 authored by Michael Natterer's avatar Michael Natterer 😴

app: default the number of threads used to g_get_num_processors()

Let the bug reporting begin.
parent 67fc418c
......@@ -134,21 +134,12 @@ gimp_gegl_config_class_init (GimpGeglConfigClass *klass)
n_threads = g_get_num_processors ();
n_threads *= 2;
max_n_threads =
G_PARAM_SPEC_INT (g_object_class_find_property (G_OBJECT_GET_CLASS (gegl_config ()),
n_threads = MIN (n_threads, max_n_threads);
#ifdef __GNUC__
#warning Defaulting # of threads to 1
n_threads = 1;
"Number of threads to use",
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment