[vlc-devel] commit: libvlccore: Make sure vlc_gc_* function correctly assert() on common errors, and de-inline them. (Pierre d'Herbemont )

Rémi Denis-Courmont rdenis at simphalempin.com
Tue Jul 8 22:29:45 CEST 2008


Le mardi 8 juillet 2008 22:33:30 git version control, vous avez écrit :
> +    /* FIXME: atomic version needed! */
> +    p_gc->i_gc_refcount ++;

__sync_add_and_fetch and __sync_sub_and_fetch
or use a spin lock.

But do we need thread safety here?


-- 
Rémi Denis-Courmont
http://www.remlab.net/



More information about the vlc-devel mailing list