mirror of
https://github.com/asterisk/asterisk.git
synced 2026-07-05 14:27:25 -07:00
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
This commit is contained in:
@@ -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
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user