Update of /cvsroot/pure-data/externals/tb/sndfiler/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8937
Modified Files: sndfiler.c Log Message: limit stacksize of helper thread to 1mb ... should be more than enough ...
Index: sndfiler.c =================================================================== RCS file: /cvsroot/pure-data/externals/tb/sndfiler/src/sndfiler.c,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** sndfiler.c 29 Jan 2006 19:29:29 -0000 1.9 --- sndfiler.c 29 Jan 2006 22:13:49 -0000 1.10 *************** *** 204,208 **** sf_param.sched_priority=sched_get_priority_min(SCHED_OTHER); pthread_attr_setschedparam(&sf_attr,&sf_param); ! #ifdef UNIX if (sys_hipriority == 1/* && getuid() == 0 */) --- 204,211 ---- sf_param.sched_priority=sched_get_priority_min(SCHED_OTHER); pthread_attr_setschedparam(&sf_attr,&sf_param); ! ! /* 1mb of stack should be enough */ ! pthread_attr_setstacksize(&sf_attr,1048576); ! #ifdef UNIX if (sys_hipriority == 1/* && getuid() == 0 */)