[vlc-devel] [PATCH 01/12] input item: expose locked version of GetMeta()

Rémi Denis-Courmont remi at remlab.net
Fri Oct 12 21:44:18 CEST 2018


Le perjantaina 12. lokakuuta 2018, 0.14.39 EEST Romain Vimont a écrit :
> In order to sort the playlist correctly, the input items must be locked
> across several calls to GetMeta() (among others).

Taking multiple locks from the same class simultaneously is a terrible idea 
that will defeat lock dependency checkers (no that we use any, but we probably 
should).

And it is theoretically only possible if there is an order, which this patch 
suspiciously fails to define.

-- 
雷米‧德尼-库尔蒙
http://www.remlab.net/





More information about the vlc-devel mailing list