Fix IAX2 multithreaded scheduling (issue #6840)
authorJoshua Colp <jcolp@digium.com>
Thu, 30 Mar 2006 03:16:09 +0000 (03:16 +0000)
committerJoshua Colp <jcolp@digium.com>
Thu, 30 Mar 2006 03:16:09 +0000 (03:16 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@16386 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_iax2.c

index 409fab5..0d77cb9 100644 (file)
@@ -7973,7 +7973,7 @@ static void *iax2_process_thread(void *data)
                case IAX_IOSTATE_SCHEDREADY:
                        thread->actions++;
                        thread->iostate = IAX_IOSTATE_PROCESSING;
-#ifdef SCHED_MULTITHREAD
+#ifdef SCHED_MULTITHREADED
                        thread->schedfunc(thread->scheddata);
 #endif         
                        break;