From afd1953a04f1445d62a68e9d18d791f80124be4c Mon Sep 17 00:00:00 2001 From: Erik Walthinsen Date: Thu, 10 May 2001 22:10:19 +0000 Subject: [PATCH] moved cothread parameters into .c to avoid rebuilding libgst.la every time Original commit message from CVS: moved cothread parameters into .c to avoid rebuilding libgst.la every time --- gst/cothreads.c | 5 +++++ gst/cothreads.h | 4 ---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/gst/cothreads.c b/gst/cothreads.c index a2e9aa6..af696ab 100644 --- a/gst/cothreads.c +++ b/gst/cothreads.c @@ -36,6 +36,11 @@ #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 diff --git a/gst/cothreads.h b/gst/cothreads.h index 270c4d4..c420111 100644 --- a/gst/cothreads.h +++ b/gst/cothreads.h @@ -26,10 +26,6 @@ #include #include -#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 */ -- 2.7.4