[asterisk-commits] file: trunk r46131 - in /trunk: ./ channels/chan_iax2.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Tue Oct 24 12:33:02 MST 2006


Author: file
Date: Tue Oct 24 14:33:02 2006
New Revision: 46131

URL: http://svn.digium.com/view/asterisk?rev=46131&view=rev
Log:
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.

........

Modified:
    trunk/   (props changed)
    trunk/channels/chan_iax2.c

Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.4-merged' - no diff available.

Modified: trunk/channels/chan_iax2.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_iax2.c?rev=46131&r1=46130&r2=46131&view=diff
==============================================================================
--- trunk/channels/chan_iax2.c (original)
+++ trunk/channels/chan_iax2.c Tue Oct 24 14:33:02 2006
@@ -9883,6 +9883,8 @@
 	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;



More information about the asterisk-commits mailing list