From 730d7655c7016c2b5b7352201ba7349b0599fdf6 Mon Sep 17 00:00:00 2001 From: Mark Spencer Date: Sun, 24 Aug 2003 06:27:34 +0000 Subject: [PATCH] Monitor thread isn't a mutex git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1414 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- channels/chan_vpb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/channels/chan_vpb.c b/channels/chan_vpb.c index fe6e1d21ad..66d32f94ee 100755 --- a/channels/chan_vpb.c +++ b/channels/chan_vpb.c @@ -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.*/