mirror of
https://gitlab.xiph.org/xiph/icecast-common.git
synced 2025-02-02 15:07:47 -05:00
reduce stack allocation to 512k, the defaults tend to be quite large
svn path=/icecast/trunk/thread/; revision=10018
This commit is contained in:
parent
69739738f9
commit
e649b8e209
@ -291,6 +291,7 @@ thread_type *thread_create_c(char *name, void *(*start_routine)(void *),
|
||||
start->arg = arg;
|
||||
start->thread = thread;
|
||||
|
||||
pthread_attr_setstacksize (&attr, 512*1024);
|
||||
pthread_attr_setinheritsched (&attr, PTHREAD_INHERIT_SCHED);
|
||||
if (detached)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user