asterisk/channels
David Vossel 642249c360 Merged revisions 314067 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r314067 | dvossel | 2011-04-18 10:23:45 -0500 (Mon, 18 Apr 2011) | 22 lines
  
  Remove the need for deadlock avoidance in chan_sip do_monitor.
  
  Deadlock avoidance between the sip pvt and the pvt->owner is
  very difficult.  Now that channel's are ao2 objects, this complication
  is no longer necessary.  It turns out the pvt's msg queue only
  exists because of deadlock avoidance (when deadlock avoidance fails
  msgs were added to a queue to be processed later), so this goes away as well.
  
  The technique used in the new sip_lock_pvt_full() function should
  be used as a template for replacing all locations where deadlock
  avoidance occurs between a channel tech_pvt and the pvt's owner.
  My hope is that this will begin a reversal of the invalid channel
  driver locking architecture we have been using for so long. 
  
  This patch also resolves an issue where the pvt->owner gets
  unlocked during processing the msg queue.
  
  (closes issue #18690)
  Reported by: dvossel
  
  Review: https://reviewboard.asterisk.org/r/1182/
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@314078 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-04-18 16:22:55 +00:00
..
h323 Asterisk media architecture conversion - no more format bitfields 2011-02-03 16:22:10 +00:00
misdn Merged revisions 296582 via svnmerge from 2010-11-29 20:54:27 +00:00
sip Add 'description' field for CLI and Manager output 2011-04-13 15:49:33 +00:00
xpmr AST-2009-005 2009-08-10 19:20:57 +00:00
Makefile Extract sig_ss7 out of chan_dahdi. 2010-06-07 20:04:42 +00:00
chan_agent.c Asterisk media architecture conversion - no more format bitfields 2011-02-03 16:22:10 +00:00
chan_alsa.c Asterisk media architecture conversion - no more format bitfields 2011-02-03 16:22:10 +00:00
chan_bridge.c Asterisk media architecture conversion - no more format bitfields 2011-02-03 16:22:10 +00:00
chan_console.c Asterisk media architecture conversion - no more format bitfields 2011-02-03 16:22:10 +00:00
chan_dahdi.c Merged revisions 313780 via svnmerge from 2011-04-14 21:02:38 +00:00
chan_gtalk.c Media Project Phase2: SILK 8khz-24khz, SLINEAR 8khz-192khz, SPEEX 32khz, hd audio ConfBridge, and other stuff 2011-02-22 23:04:49 +00:00
chan_h323.c Asterisk media architecture conversion - no more format bitfields 2011-02-03 16:22:10 +00:00
chan_iax2.c Add 'description' field for CLI and Manager output 2011-04-13 15:49:33 +00:00
chan_jingle.c Media Project Phase2: SILK 8khz-24khz, SLINEAR 8khz-192khz, SPEEX 32khz, hd audio ConfBridge, and other stuff 2011-02-22 23:04:49 +00:00
chan_local.c Merged revisions 306127 via svnmerge from 2011-02-03 21:13:11 +00:00
chan_mgcp.c Asterisk media architecture conversion - no more format bitfields 2011-02-03 16:22:10 +00:00
chan_misdn.c Merged revisions 312509 via svnmerge from 2011-04-01 23:17:05 +00:00
chan_multicast_rtp.c Asterisk media architecture conversion - no more format bitfields 2011-02-03 16:22:10 +00:00
chan_nbs.c Fix a buglet that prevented chan_nbs from loading (and subsequently stopped Asterisk). 2011-03-04 17:40:02 +00:00
chan_oss.c Asterisk media architecture conversion - no more format bitfields 2011-02-03 16:22:10 +00:00
chan_phone.c Fixes compile error in chan_phone for big endian 2011-02-15 18:09:25 +00:00
chan_phone.h rename DialTone.h to chan_phone.h because chan_phone.c is the only file using it 2008-05-28 20:00:21 +00:00
chan_sip.c Merged revisions 314067 via svnmerge from 2011-04-18 16:22:55 +00:00
chan_skinny.c Consolidate all new call calls to run through new setsubstate_ringout. 2011-04-17 09:28:05 +00:00
chan_unistim.c Asterisk media architecture conversion - no more format bitfields 2011-02-03 16:22:10 +00:00
chan_usbradio.c Asterisk media architecture conversion - no more format bitfields 2011-02-03 16:22:10 +00:00
chan_vpb.cc Asterisk media architecture conversion - no more format bitfields 2011-02-03 16:22:10 +00:00
console_board.c import the recent additions for video console into trunk, 2008-06-29 21:17:14 +00:00
console_gui.c Const-ify the world (or at least a good part of it) 2009-05-21 21:13:09 +00:00
console_video.c Merged revisions 284597 via svnmerge from 2010-09-02 05:02:54 +00:00
console_video.h implement the 'freeze' function for incoming frames; 2008-06-30 15:45:15 +00:00
iax2-parser.c Asterisk media architecture conversion - no more format bitfields 2011-02-03 16:22:10 +00:00
iax2-parser.h Asterisk media architecture conversion - no more format bitfields 2011-02-03 16:22:10 +00:00
iax2-provision.c Asterisk media architecture conversion - no more format bitfields 2011-02-03 16:22:10 +00:00
iax2-provision.h Don't reload a configuration file if nothing has changed. 2007-08-16 21:09:46 +00:00
iax2.h Media Project Phase2: SILK 8khz-24khz, SLINEAR 8khz-192khz, SPEEX 32khz, hd audio ConfBridge, and other stuff 2011-02-22 23:04:49 +00:00
misdn_config.c Enhancements to connected line and redirecting work. 2010-05-17 15:36:31 +00:00
sig_analog.c Merged revisions 313190 via svnmerge from 2011-04-11 15:47:17 +00:00
sig_analog.h Merged revisions 296167 via svnmerge from 2010-11-24 22:52:07 +00:00
sig_pri.c Add private lock deadlock avoidance callback to PRI and SS7. 2011-04-08 16:17:32 +00:00
sig_pri.h Add private lock deadlock avoidance callback to PRI and SS7. 2011-04-08 16:17:32 +00:00
sig_ss7.c Add private lock deadlock avoidance callback to PRI and SS7. 2011-04-08 16:17:32 +00:00
sig_ss7.h Add private lock deadlock avoidance callback to PRI and SS7. 2011-04-08 16:17:32 +00:00
vcodecs.c Const-ify the world (or at least a good part of it) 2009-05-21 21:13:09 +00:00
vgrabbers.c free memory used by the x11 grabber when closing it. 2008-07-14 16:50:54 +00:00