[asterisk-commits] jpeeler: branch 1.4 r138309 - /branches/1.4/channels/chan_dahdi.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Fri Aug 15 18:41:55 CDT 2008
Author: jpeeler
Date: Fri Aug 15 18:41:54 2008
New Revision: 138309
URL: http://svn.digium.com/view/asterisk?view=rev&rev=138309
Log:
add forgotten locks around ss_thread_count in ss_thread for dahdi restart
Modified:
branches/1.4/channels/chan_dahdi.c
Modified: branches/1.4/channels/chan_dahdi.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/channels/chan_dahdi.c?view=diff&rev=138309&r1=138308&r2=138309
==============================================================================
--- branches/1.4/channels/chan_dahdi.c (original)
+++ branches/1.4/channels/chan_dahdi.c Fri Aug 15 18:41:54 2008
@@ -5546,7 +5546,9 @@
int res;
int index;
+ ast_mutex_lock(&ss_thread_lock);
ss_thread_count++;
+ ast_mutex_unlock(&ss_thread_lock);
/* in the bizarre case where the channel has become a zombie before we
even get started here, abort safely
*/
More information about the asterisk-commits
mailing list