rtp fix and some other misc stuff

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2266 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale
2006-08-11 23:27:08 +00:00
parent 3b09338cee
commit 54ec8c1dd4
3 changed files with 10 additions and 7 deletions

View File

@@ -84,10 +84,6 @@ int main(int argc, char *argv[])
nice(-20);
#endif
#ifdef HAVE_MLOCKALL
mlockall(MCL_CURRENT|MCL_FUTURE);
#endif
#ifndef WIN32
if (argv[1] && !strcmp(argv[1], "-stop")) {
pid_t pid = 0;
@@ -182,6 +178,11 @@ int main(int argc, char *argv[])
switch_event_fire(&event);
}
#ifdef HAVE_MLOCKALL
mlockall(MCL_CURRENT|MCL_FUTURE);
#endif
#ifdef CRASH_PROT
#define __CP "ENABLED"
#else