]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
We need to initialize our scheduler pthread condition... yes.
authorJoshua Colp <jcolp@digium.com>
Tue, 24 Oct 2006 19:29:56 +0000 (19:29 +0000)
committerJoshua Colp <jcolp@digium.com>
Tue, 24 Oct 2006 19:29:56 +0000 (19:29 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46130 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_iax2.c

index bff3afea9e35da71026d5006c2fdb72b7513aa9f..4c9f239b700ddba17dfcad35d75382b6dc44dbde 100644 (file)
@@ -10009,6 +10009,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);
+
        io = io_context_create();
        sched = sched_context_create();