mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
Merge FreeBSD locking fixes (bug #1411)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3176 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -49,12 +49,12 @@ static char *tdesc = "Local Proxy Channel Driver";
|
||||
static int capability = -1;
|
||||
|
||||
static int usecnt =0;
|
||||
static ast_mutex_t usecnt_lock = AST_MUTEX_INITIALIZER;
|
||||
AST_MUTEX_DEFINE_STATIC(usecnt_lock);
|
||||
|
||||
#define IS_OUTBOUND(a,b) (a == b->chan ? 1 : 0)
|
||||
|
||||
/* Protect the interface list (of sip_pvt's) */
|
||||
static ast_mutex_t locallock = AST_MUTEX_INITIALIZER;
|
||||
AST_MUTEX_DEFINE_STATIC(locallock);
|
||||
|
||||
static struct local_pvt {
|
||||
ast_mutex_t lock; /* Channel private lock */
|
||||
|
Reference in New Issue
Block a user