mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-02 11:58:40 +00:00
Merged revisions 291656 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8 ................ r291656 | rmudgett | 2010-10-13 18:45:11 -0500 (Wed, 13 Oct 2010) | 34 lines Merged revisions 291655 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.6.2 ................ r291655 | rmudgett | 2010-10-13 18:36:50 -0500 (Wed, 13 Oct 2010) | 27 lines Merged revisions 291643 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r291643 | rmudgett | 2010-10-13 18:29:58 -0500 (Wed, 13 Oct 2010) | 20 lines Deadlock between dahdi_exception() and dahdi_indicate(). There is a deadlock between dahdi_exception() and dahdi_indicate() for analog ports. The call-waiting and three-way-calling feature can experience deadlock if these features are trying to do something and an event from the bridged channel happens at the same time. Deadlock avoidance code added to obtain necessary channel locks before attemting an operation with call-waiting and three-way-calling. (closes issue #16847) Reported by: shin-shoryuken Patches: issue_16847_v1.4.patch uploaded by rmudgett (license 664) issue_16847_v1.6.2.patch uploaded by rmudgett (license 664) issue_16847_v1.8_v2.patch uploaded by rmudgett (license 664) Tested by: alecdavis, rmudgett Review: https://reviewboard.asterisk.org/r/971/ ........ ................ ................ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@291658 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -129,6 +129,9 @@ struct analog_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 up 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. */
|
||||
|
||||
Reference in New Issue
Block a user