[gegl] threading: if more threads than max_threads is requested use just one.
- From: Øyvind Kolås <ok src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl] threading: if more threads than max_threads is requested use just one.
- Date: Mon, 24 Jan 2011 22:36:51 +0000 (UTC)
commit 0cde5488ea9353f34b5729ef6346f0e20ef3cb53
Author: �yvind Kolås <pippin gimp org>
Date: Mon Jan 24 22:35:39 2011 +0000
threading: if more threads than max_threads is requested use just one.
gegl/graph/gegl-node.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gegl/graph/gegl-node.c b/gegl/graph/gegl-node.c
index 7620279..96cc8e3 100644
--- a/gegl/graph/gegl-node.c
+++ b/gegl/graph/gegl-node.c
@@ -927,7 +927,7 @@ gegl_node_blit (GeglNode *self,
#if 1
threads = gegl_config ()->threads;
if (threads > GEGL_MAX_THREADS)
- threads = 0;
+ threads = 1;
if (pool == NULL)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]