[vlc-devel] [PATCH] core: Add atomic refcounter helper

Romain Vimont rom1v at videolabs.io
Sun Jul 1 11:30:33 CEST 2018

On Sun, Jul 01, 2018 at 11:59:08AM +0300, RĂ©mi Denis-Courmont wrote:
> Furthermore the boolean evaluation of the return value is the opposite of what 
> any other ref counting API does (other than VLC's). Usually, zero is for last 
> reference and non-zero for non-last references. Again, this is prone to 
> errors.


> Return: true if the resulting refcount is 0, false otherwise

More information about the vlc-devel mailing list