[vlc-devel] [PATCH v2 01/10] core: add atomic refcounter helper
remi at remlab.net
Mon Jul 2 18:24:40 CEST 2018
Le maanantaina 2. heinäkuuta 2018, 18.46.58 EEST Romain Vimont a écrit :
> On Mon, Jul 02, 2018 at 06:32:33PM +0300, Rémi Denis-Courmont wrote:
> > Scratch picture_t, but still read-only objects (e.g. QString backend
> > storage) or read-only accesses don't need release barrier.
> > Also acquire barrier is not needed when reference count is more than
> > 1-to-0.
> I'm glad you watched the video linked in the commit message more than 3
> minutes (1), so that you were able to apply what the author explained in
> some random file in VLC yesterday (2).
I am not sure if this is sarcasm but I did not watch the video.
> However, I think it would benefit the project more if this was done in
> a helper used many times.
In theory yes. But so far, I do not know a non-broken way to achieve that.
More information about the vlc-devel