[Freeswitch-svn] [commit] r2645 - freeswitch/trunk/src

Freeswitch SVN anthm at freeswitch.org
Mon Sep 11 19:58:53 EDT 2006


Author: anthm
Date: Mon Sep 11 19:58:52 2006
New Revision: 2645

Modified:
   freeswitch/trunk/src/switch.c
   freeswitch/trunk/src/switch_core.c

Log:
less priority

Modified: freeswitch/trunk/src/switch.c
==============================================================================
--- freeswitch/trunk/src/switch.c	(original)
+++ freeswitch/trunk/src/switch.c	Mon Sep 11 19:58:52 2006
@@ -62,7 +62,7 @@
 #ifdef WIN32
 	SetPriorityClass(GetCurrentProcess(), HIGH_PRIORITY_CLASS);
 #else
-	nice(-20);
+	//nice(-20);
 #endif
 }
 

Modified: freeswitch/trunk/src/switch_core.c
==============================================================================
--- freeswitch/trunk/src/switch_core.c	(original)
+++ freeswitch/trunk/src/switch_core.c	Mon Sep 11 19:58:52 2006
@@ -3596,7 +3596,9 @@
 	}
 
 #ifdef HAVE_MLOCKALL
+#ifdef USE_MLOCKALL
 	mlockall(MCL_CURRENT|MCL_FUTURE);
+#endif
 #endif
 
 	switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_CONSOLE, "\nFreeSWITCH Version %s Started.\nCrash Protection [%s]\nMax Sessions[%u]\n\n", SWITCH_VERSION_FULL, __CP, switch_core_session_limit(0));



More information about the Freeswitch-svn mailing list