Commit c1692662 authored by Karl Heyes's avatar Karl Heyes
Browse files

reduce stack allocation to 512k, the defaults tend to be quite large

svn path=/icecast/trunk/thread/; revision=10018
parent 9a78c1b7
......@@ -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)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment