summaryrefslogtreecommitdiff
path: root/channels/vcodecs.c
diff options
context:
space:
mode:
authorRichard Mudgett <rmudgett@digium.com>2016-03-11 12:22:48 -0600
committerRichard Mudgett <rmudgett@digium.com>2016-03-16 14:44:52 -0500
commit810f92c9dcfa2ca2b883d3f82699abe6bf219a53 (patch)
tree960d90b2b9cdcb8150f2bcdbf0aa1aca78a66ab8 /channels/vcodecs.c
parent72c444ba37b63b17563c2ac55b3ff1edbcacdd9a (diff)
chan_sip.c: Fix mwi resub deadlock potential.
This patch is part of a series to resolve deadlocks in chan_sip.c. Stopping a scheduled event can result in a deadlock if the scheduled event is running when you try to stop the event. If you hold a lock needed by the scheduled event while trying to stop the scheduled event then a deadlock can happen. The general strategy for resolving the deadlock potential is to push the actual starting and stopping of the scheduled events off onto the scheduler/do_monitor() thread by scheduling an immediate one shot scheduled event. Some restructuring may be needed because the code may assume that the start/stop of the scheduled events is immediate. ASTERISK-25023 #close Change-Id: I96d429c57a48861fd8bde63dd93db4e92dc3adb6
Diffstat (limited to 'channels/vcodecs.c')
0 files changed, 0 insertions, 0 deletions