diff options
author | Richard Mudgett <rmudgett@digium.com> | 2011-04-08 16:17:32 +0000 |
---|---|---|
committer | Richard Mudgett <rmudgett@digium.com> | 2011-04-08 16:17:32 +0000 |
commit | ce17f956dceeed7a7bf6866223f1f88f359548c6 (patch) | |
tree | a50d5fded9b71f7c7c9ee5410731a2df5999e852 /channels/sig_pri.h | |
parent | 68dd87ef0dd9e4362e1dcc38c04c9c8b09e002c1 (diff) |
Add private lock deadlock avoidance callback to PRI and SS7.
Factor out the equivalent function for analog.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@313100 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels/sig_pri.h')
-rw-r--r-- | channels/sig_pri.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/channels/sig_pri.h b/channels/sig_pri.h index 148397fc6..0c9a5e173 100644 --- a/channels/sig_pri.h +++ b/channels/sig_pri.h @@ -167,6 +167,8 @@ struct sig_pri_callback { void (* const unlock_private)(void *pvt); /* Lock the private in the signalling private structure. ... */ void (* const lock_private)(void *pvt); + /* Do deadlock avoidance for the private signaling structure lock. */ + void (* const deadlock_avoidance_private)(void *pvt); /* Function which is called back to handle any other DTMF events that are received. Called by analog_handle_event. Why is this * important to use, instead of just directly using events received before they are passed into the library? Because sometimes, * (CWCID) the library absorbs DTMF events received. */ |