diff options
author | Mark Spencer <markster@digium.com> | 2003-08-13 15:25:16 +0000 |
---|---|---|
committer | Mark Spencer <markster@digium.com> | 2003-08-13 15:25:16 +0000 |
commit | 1bb58646de07501c96c53a963820ef70f73d50c5 (patch) | |
tree | 3f2cc11c392b1496cf6518e8b6eb99e8b04417a1 /include/asterisk/manager.h | |
parent | 4a396046fec3026140078479ff73fe3a98728bee (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-x | include/asterisk/manager.h | 4 |
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; |