Sophie

Sophie

distrib > Mageia > 1 > i586 > media > core-updates-src > by-pkgid > b850e5c583858315953a44a2c2fc9494 > files > 21

blender-2.49b-11.1.mga1.src.rpm

diff -p -up blender-2.49a/source/blender/blenlib/BLI_threads.h.maxthreads blender-2.49a/source/blender/blenlib/BLI_threads.h
--- blender-2.49a/source/blender/blenlib/BLI_threads.h.maxthreads	2008-10-28 23:53:48.000000000 +0100
+++ blender-2.49a/source/blender/blenlib/BLI_threads.h	2009-06-18 20:51:34.000000000 +0200
@@ -36,7 +36,7 @@
 #define LOCK_CUSTOM1	1
 
 /* for tables, button in UI, etc */
-#define BLENDER_MAX_THREADS		8
+#define BLENDER_MAX_THREADS		64
 
 struct ListBase;
 void	BLI_init_threads	(struct ListBase *threadbase, void *(*do_thread)(void *), int tot);
diff -p -up blender-2.49a/source/blender/blenlib/intern/threads.c.maxthreads blender-2.49a/source/blender/blenlib/intern/threads.c
--- blender-2.49a/source/blender/blenlib/intern/threads.c.maxthreads	2008-11-14 00:12:38.000000000 +0100
+++ blender-2.49a/source/blender/blenlib/intern/threads.c	2009-06-18 20:51:34.000000000 +0200
@@ -100,7 +100,7 @@ static pthread_mutex_t _custom1_lock = P
 static int thread_levels= 0;	/* threads can be invoked inside threads */
 
 /* just a max for security reasons */
-#define RE_MAX_THREAD	8
+#define RE_MAX_THREAD	64
 
 typedef struct ThreadSlot {
 	struct ThreadSlot *next, *prev;