[xiph-commits] r10018 - icecast/trunk/thread
karl at svn.xiph.org
karl at svn.xiph.org
Thu Sep 15 15:33:15 PDT 2005
Author: karl
Date: 2005-09-15 15:33:13 -0700 (Thu, 15 Sep 2005)
New Revision: 10018
Modified:
icecast/trunk/thread/thread.c
Log:
reduce stack allocation to 512k, the defaults tend to be quite large
Modified: icecast/trunk/thread/thread.c
===================================================================
--- icecast/trunk/thread/thread.c 2005-09-15 19:31:38 UTC (rev 10017)
+++ icecast/trunk/thread/thread.c 2005-09-15 22:33:13 UTC (rev 10018)
@@ -291,6 +291,7 @@
start->arg = arg;
start->thread = thread;
+ pthread_attr_setstacksize (&attr, 512*1024);
pthread_attr_setinheritsched (&attr, PTHREAD_INHERIT_SCHED);
if (detached)
{
More information about the commits
mailing list