1
0
mirror of https://gitlab.xiph.org/xiph/icecast-common.git synced 2024-06-16 06:15:24 +00: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:
Karl Heyes 2005-09-15 22:33:13 +00:00
parent 69739738f9
commit e649b8e209

View File

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