1
0
mirror of https://gitlab.xiph.org/xiph/icecast-server.git synced 2024-12-04 14:46:30 -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:
Karl Heyes 2005-09-15 22:33:13 +00:00
parent 9a78c1b735
commit c16926625f

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