[Freeswitch-trunk] [commit] r12797 - freeswitch/trunk/src
FreeSWITCH SVN
anthm at freeswitch.org
Thu Mar 26 13:08:30 PDT 2009
Author: anthm
Date: Thu Mar 26 15:08:30 2009
New Revision: 12797
Log:
update
Modified:
freeswitch/trunk/src/switch_core.c
Modified: freeswitch/trunk/src/switch_core.c
==============================================================================
--- freeswitch/trunk/src/switch_core.c (original)
+++ freeswitch/trunk/src/switch_core.c Thu Mar 26 15:08:30 2009
@@ -1590,6 +1590,8 @@
static void *SWITCH_THREAD_FUNC system_thread(switch_thread_t *thread, void *obj)
{
struct system_thread_handle *sth = (struct system_thread_handle *)obj;
+
+#if 0 // if we are a luser we can never turn this back down, didn't we already set the stack size?
#if defined(HAVE_SETRLIMIT) && !defined(__FreeBSD__)
struct rlimit rlim;
@@ -1599,9 +1601,11 @@
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Setting stack size failed! (%s)\n", strerror(errno));
}
#endif
+#endif
sth->ret = system(sth->cmd);
+#if 0
#if defined(HAVE_SETRLIMIT) && !defined(__FreeBSD__)
rlim.rlim_cur = SWITCH_THREAD_STACKSIZE;
rlim.rlim_max = SWITCH_SYSTEM_THREAD_STACKSIZE;
@@ -1610,6 +1614,7 @@
}
#endif
+#endif
switch_mutex_lock(sth->mutex);
switch_thread_cond_signal(sth->cond);
More information about the Freeswitch-trunk
mailing list