Monitor thread isn't a mutex
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1414 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
parent
d6cfcc994d
commit
730d7655c7
|
@ -82,7 +82,7 @@ static ast_mutex_t monlock = AST_MUTEX_INITIALIZER;
|
|||
|
||||
/* This is the thread for the monitor which checks for input on the channels
|
||||
which are not currently in use. */
|
||||
static ast_mutex_t monitor_thread;
|
||||
static pthread_t monitor_thread;
|
||||
|
||||
static int mthreadactive = -1; /* Flag for monitoring monitorthread.*/
|
||||
|
||||
|
|
Loading…
Reference in New Issue