mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-02 11:58:40 +00:00
Fix pbx_wilcalu from occupying 100% CPU now that it's nonblocking, and add malloc debug
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@927 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -1341,6 +1341,9 @@ int main(int argc, char *argv[])
|
||||
ast_verbose(term_color(tmp, "Asterisk Ready.\n", COLOR_BRWHITE, COLOR_BLACK, sizeof(tmp)));
|
||||
fully_booted = 1;
|
||||
pthread_sigmask(SIG_UNBLOCK, &sigs, NULL);
|
||||
#ifdef __AST_DEBUG_MALLOC
|
||||
__ast_mm_init();
|
||||
#endif
|
||||
ast_cli_register(&astshutdownnow);
|
||||
ast_cli_register(&astshutdowngracefully);
|
||||
ast_cli_register(&astrestartnow);
|
||||
|
||||
Reference in New Issue
Block a user