diff options
author | Benny Prijono <bennylp@teluu.com> | 2010-09-15 07:42:14 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2010-09-15 07:42:14 +0000 |
commit | 8ae3c7ba76045b55af5916fdc5858fdaf7963916 (patch) | |
tree | 1b9a11bdcf9d5fd1d2c6017edf98fcb35c390345 /pjsip/include | |
parent | e8cc6e6212b32ffbb9c071c28bd29470f38ae25a (diff) |
Fix #1121 (Deadlock in transaction code when hanging up calls (thanks Dennis Struble for the report))
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3311 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjsip/include')
-rw-r--r-- | pjsip/include/pjsip/sip_transaction.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pjsip/include/pjsip/sip_transaction.h b/pjsip/include/pjsip/sip_transaction.h index 199d313d..0658ca50 100644 --- a/pjsip/include/pjsip/sip_transaction.h +++ b/pjsip/include/pjsip/sip_transaction.h @@ -86,6 +86,9 @@ struct pjsip_transaction pjsip_module *tsx_user; /**< Transaction user. */ pjsip_endpoint *endpt; /**< Endpoint instance. */ pj_mutex_t *mutex; /**< Mutex for this tsx. */ + pj_mutex_t *mutex_b; /**< Second mutex to avoid + deadlock. It is used to + protect timer. */ /* * Transaction identification. |