mirror of
https://github.com/asterisk/asterisk.git
synced 2026-07-19 01:45:25 -07:00
Merged revisions 46130 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r46130 | file | 2006-10-24 15:29:56 -0400 (Tue, 24 Oct 2006) | 2 lines We need to initialize our scheduler pthread condition... yes. ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@46131 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -9883,6 +9883,8 @@ static int load_module(void)
|
||||
for (x=0;x<IAX_MAX_CALLS;x++)
|
||||
ast_mutex_init(&iaxsl[x]);
|
||||
|
||||
ast_cond_init(&sched_cond, NULL);
|
||||
|
||||
if (!(sched = sched_context_create())) {
|
||||
ast_log(LOG_ERROR, "Failed to create scheduler context\n");
|
||||
return AST_MODULE_LOAD_FAILURE;
|
||||
|
||||
Reference in New Issue
Block a user