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
1 changed files with 1 additions and 1 deletions
|
@ -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
|
/* This is the thread for the monitor which checks for input on the channels
|
||||||
which are not currently in use. */
|
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.*/
|
static int mthreadactive = -1; /* Flag for monitoring monitorthread.*/
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue