[asterisk-commits] kmoore: branch 1.6.0 r242603 - /branches/1.6.0/main/asterisk.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Sun Jan 24 11:12:35 CST 2010
Author: kmoore
Date: Sun Jan 24 11:12:30 2010
New Revision: 242603
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=242603
Log:
Ensure that the priority is set to 0 on the astcanary thread.
This was causing asterisk to exit erroneously while polling to ensure that
it had a proper DAHDI timing source.
Modified:
branches/1.6.0/main/asterisk.c
Modified: branches/1.6.0/main/asterisk.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.6.0/main/asterisk.c?view=diff&rev=242603&r1=242602&r2=242603
==============================================================================
--- branches/1.6.0/main/asterisk.c (original)
+++ branches/1.6.0/main/asterisk.c Sun Jan 24 11:12:30 2010
@@ -3315,6 +3315,7 @@
for (fd = 1; fd < 100; fd++) {
close(fd);
}
+ ast_set_priority(0);
snprintf(ppid, sizeof(ppid), "%d", (int) getpid());
execlp("astcanary", "astcanary", canary_filename, ppid, (char *)NULL);
More information about the asterisk-commits
mailing list