]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Monitor thread isn't a mutex
authorMark Spencer <markster@digium.com>
Sun, 24 Aug 2003 06:27:34 +0000 (06:27 +0000)
committerMark Spencer <markster@digium.com>
Sun, 24 Aug 2003 06:27:34 +0000 (06:27 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1414 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_vpb.c

index fe6e1d21ad01b5f27051a0d449c20d6fef27779d..66d32f94eea2293cc6cd7e10f2bb9b699dc9c69c 100755 (executable)
@@ -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.*/