[gegl] Default to 1 thread
- From: Øyvind Kolås <ok src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl] Default to 1 thread
- Date: Mon, 5 Apr 2010 18:43:11 +0000 (UTC)
commit 4811cc067b80e91f6d06c404b41743c80c1b5579
Author: �yvind Kolås <pippin gimp org>
Date: Mon Apr 5 17:32:11 2010 +0100
Default to 1 thread
With only 1 thread there should be no locking issues.
gegl/gegl-config.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gegl/gegl-config.c b/gegl/gegl-config.c
index 21db5f4..6073ef1 100644
--- a/gegl/gegl-config.c
+++ b/gegl/gegl-config.c
@@ -206,9 +206,9 @@ gegl_config_class_init (GeglConfigClass *klass)
G_PARAM_READWRITE));
#if ENABLE_MT
- g_object_class_install_property (gobject_class, PROP_TILE_HEIGHT,
+ g_object_class_install_property (gobject_class, PROP_THREADS,
g_param_spec_int ("threads", "Number of concurrent evaluation threads", "default tile height for created buffers.",
- 0, 16, 2,
+ 0, 16, 1,
G_PARAM_READWRITE));
#endif
}
@@ -223,6 +223,6 @@ gegl_config_init (GeglConfig *self)
self->tile_width = 128;
self->tile_height = 64;
#if ENABLE_MT
- self->threads = 2;
+ self->threads = 1;
#endif
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]