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
This commit is contained in:
Erik Walthinsen 2001-05-10 22:10:19 +00:00
parent 3cfd332a23
commit afd1953a04
2 changed files with 5 additions and 4 deletions

View file

@ -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

View file

@ -26,10 +26,6 @@
#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 */