mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 08:46:40 +00:00
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:
parent
3cfd332a23
commit
afd1953a04
2 changed files with 5 additions and 4 deletions
|
@ -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
|
||||
|
|
|
@ -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 */
|
||||
|
|
Loading…
Reference in a new issue