mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
declared static mutexes using AST_MUTEX_DEFINE_STATIC macro
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@138151 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -241,8 +241,8 @@ AST_MUTEX_DEFINE_STATIC(monlock);
|
||||
which are not currently in use. */
|
||||
static pthread_t monitor_thread = AST_PTHREADT_NULL;
|
||||
static ast_cond_t ss_thread_complete = PTHREAD_COND_INITIALIZER;
|
||||
static ast_mutex_t ss_thread_lock = { PTHREAD_MUTEX_INITIALIZER };
|
||||
static ast_mutex_t restart_lock = { PTHREAD_MUTEX_INITIALIZER };
|
||||
AST_MUTEX_DEFINE_STATIC(ss_thread_lock);
|
||||
AST_MUTEX_DEFINE_STATIC(restart_lock);
|
||||
static int ss_thread_count = 0;
|
||||
static int num_restart_pending = 0;
|
||||
|
||||
|
Reference in New Issue
Block a user