add forgotten locks around ss_thread_count in ss_thread for dahdi restart

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@138309 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.4
Jeff Peeler 18 years ago
parent fc195a2df6
commit 8982add7a8

@ -5546,7 +5546,9 @@ static void *ss_thread(void *data)
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
*/

Loading…
Cancel
Save