summaryrefslogtreecommitdiff
path: root/include/asterisk/manager.h
diff options
context:
space:
mode:
authorMark Spencer <markster@digium.com>2003-08-13 15:25:16 +0000
committerMark Spencer <markster@digium.com>2003-08-13 15:25:16 +0000
commit1bb58646de07501c96c53a963820ef70f73d50c5 (patch)
tree3f2cc11c392b1496cf6518e8b6eb99e8b04417a1 /include/asterisk/manager.h
parent4a396046fec3026140078479ff73fe3a98728bee (diff)
Totally revamp thread debugging to support locating and removing deadlocks
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1310 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'include/asterisk/manager.h')
-rwxr-xr-xinclude/asterisk/manager.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/asterisk/manager.h b/include/asterisk/manager.h
index d5171ecc2..66da69017 100755
--- a/include/asterisk/manager.h
+++ b/include/asterisk/manager.h
@@ -23,6 +23,8 @@
#include <netinet/in.h>
#include <arpa/inet.h>
+#include <asterisk/lock.h>
+
/*
* Call management packages are text fields of the form a: b. There is
* always exactly one space after the colon.
@@ -53,7 +55,7 @@
struct mansession {
pthread_t t;
- pthread_mutex_t lock;
+ ast_mutex_t lock;
struct sockaddr_in sin;
int fd;
int blocking;