Skip to content
Snippets Groups Projects
Select Git revision
  • d0df545a443cb00c75fdf1e61db909facd266aa9
  • devel default
  • lk_update_ringback
  • wenpeng-0917
  • asterisk_rdkb
  • fix_crash_at_transport
  • lk_debug_dialogs
  • lk_forking_revert
  • wenpeng-jul8
  • gyang-devel
  • gyang-devel1
  • wenpeng-jul9
  • asterisk_rdkb_ipv6
  • 16916_rdkb_merge
  • lk_disable_registrar
  • wenpeng-100rel-ippbx
  • fix_multiple_dns_lookup
  • dev_fxs_no_wb
  • fix_fallback
  • 14666_fxs_no_wideband_codec
  • fix_srv_records
  • fix_deadlock_in_bridge_peer_functions
  • 22.0.0-pre1
  • 21.4.2
  • 20.9.2
  • 18.24.2
  • certified-20.7-cert2
  • certified-18.9-cert11
  • 21.4.1
  • 20.9.1
  • 18.24.1
  • 21.4.0
  • 20.9.0
  • 18.24.0
  • certified-20.7-cert1
  • certified-18.9-cert10
  • 21.4.0-rc1
  • 20.9.0-rc1
  • 18.24.0-rc1
  • 21.3.1
  • 20.8.1
  • 18.23.1
42 results

taskprocessor.c

Blame
  • user avatar
    Richard Mudgett authored
    Performing a directed call pickup resulted in a deadlock when PJSIP
    channels were involved.
    
    A masquerade needs to hold onto the channel locks while it swaps channel
    information between the two channels involved in the masquerade.  With
    PJSIP channels, the fixup routine needed to push a fixup task onto the
    PJSIP channel's serializer.  Unfortunately, if the serializer was also
    processing a task that needed to lock the channel, you get deadlock.
    
    * Added a new control frame that is used to notify the channels that a
    masquerade is about to start and when it has completed.
    
    * Added the ability to query taskprocessors if the current thread is the
    taskprocessor thread.
    
    * Added the ability to suspend/unsuspend the PJSIP serializer thread so a
    masquerade could fixup the PJSIP channel without using the serializer.
    
    ASTERISK-24356 #close
    Reported by: rmudgett
    
    Review: https://reviewboard.asterisk.org/r/4034/
    ........
    
    Merged revisions 424471 from http://svn.asterisk.org/svn/asterisk/branches/12
    
    
    git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/13@424472 65c4cc65-6c06-0410-ace0-fbb531ad65f3
    6a844be5
    History
    taskprocessor.c 21.37 KiB