moved cothread parameters into .c to avoid rebuilding libgst.la every time
authorErik Walthinsen <omega@temple-baptist.org>
Thu, 10 May 2001 22:10:19 +0000 (22:10 +0000)
committerErik Walthinsen <omega@temple-baptist.org>
Thu, 10 May 2001 22:10:19 +0000 (22:10 +0000)
Original commit message from CVS:
moved cothread parameters into .c to avoid rebuilding libgst.la every time

gst/cothreads.c
gst/cothreads.h

index a2e9aa6..af696ab 100644 (file)
 #include "gstarch.h"
 
 
+#define COTHREAD_STACKSIZE 8192
+#define COTHREAD_MAXTHREADS 64
+#define STACK_SIZE 0x200000
+
+
 pthread_key_t _cothread_key = -1;
 
 /* Disablig this define allows you to shut off a few checks in
index 270c4d4..c420111 100644 (file)
 #include <glib.h>
 #include <setjmp.h>
 
-#define COTHREAD_STACKSIZE 8192
-#define COTHREAD_MAXTHREADS 16
-#define STACK_SIZE 0x200000
-
 #ifndef CURRENT_STACK_FRAME
 #define CURRENT_STACK_FRAME  ({ char __csf; &__csf; })
 #endif /* CURRENT_STACK_FRAME */