[vlc-devel] [PATCH v4 2/3] Update media tree on	browsing/preparsing
    Rémi Denis-Courmont 
    remi at remlab.net
       
    Mon Jul  9 19:36:56 CEST 2018
    
    
  
Le maanantaina 9. heinäkuuta 2018, 13.13.53 EEST Romain Vimont a écrit :
> Browsing and preparsing, started by libvlc_MetadataRequest(), trigger
> input item events.
> 
> Listen to these events to update the media tree accordingly.
I think that there is a lock inversion here:
On the one hand, in vlc_media_tree_Remove(), the media tree lock is taken 
first, then input item events are unregistering, taking the event manager lock 
of the respective input item. On the other hand, in input item event 
callbacks, the media tree gets locked while the event manager lock is held.
-- 
雷米‧德尼-库尔蒙
http://www.remlab.net/
    
    
More information about the vlc-devel
mailing list