fix for FSCORE-40

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5566 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris committed 2007-08-03 21:29:01 +00:00
1 parent d3aa5b433b
commit f1222ba2fd
14 files changed
+48 -30

No files matched your search

+3 -1
View File
@@ -355,7 +355,9 @@ SWITCH_DECLARE(int32_t) set_high_priority(void)
#ifdef WIN32
SetPriorityClass(GetCurrentProcess(), HIGH_PRIORITY_CLASS);
#else
nice(-10);
if(nice(-10)!= -10) {
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_CRIT, "Could not set nice level\n");
}
#endif
#define USE_MLOCKALL