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
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;