[asterisk-commits] russell: trunk r83233 - /trunk/main/asterisk.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Thu Sep 20 11:27:07 CDT 2007
Author: russell
Date: Thu Sep 20 11:27:07 2007
New Revision: 83233
URL: http://svn.digium.com/view/asterisk?view=rev&rev=83233
Log:
Don't start the event processing thread until after forking.
(reported by Simon on the -dev list, thanks!)
Modified:
trunk/main/asterisk.c
Modified: trunk/main/asterisk.c
URL: http://svn.digium.com/view/asterisk/trunk/main/asterisk.c?view=diff&rev=83233&r1=83232&r2=83233
==============================================================================
--- trunk/main/asterisk.c (original)
+++ trunk/main/asterisk.c Thu Sep 20 11:27:07 2007
@@ -2541,7 +2541,6 @@
ast_alaw_init();
callerid_init();
ast_builtins_init();
- ast_event_init();
ast_utils_init();
tdd_init();
/* When Asterisk restarts after it has dropped the root privileges,
@@ -2841,6 +2840,8 @@
if (test_for_thread_safety())
ast_verbose("Warning! Asterisk is not thread safe.\n");
+ ast_event_init();
+
ast_makesocket();
sigemptyset(&sigs);
sigaddset(&sigs, SIGHUP);
More information about the asterisk-commits
mailing list