[vlc-devel] commit: Detach the children at object destruction ( Rafaël Carré )

Rémi Denis-Courmont rdenis at simphalempin.com
Fri May 16 16:39:04 CEST 2008

Le Friday 16 May 2008 15:48:10 Pierre d'Herbemont, vous avez écrit :
> > I have a patch for that. Please review and apply.<0001-objects-
> > Protect-from-FIND_PARENT-directly-in-the-FI.patch>
> (without typo this time)

This does not work. For a start, outside of the refspin, there is no warranty 
that i_refcount is in a safe, so if another thread is yielding/releasing the 
parent at the same time, you will get undefined behaviour.

Rémi Denis-Courmont

More information about the vlc-devel mailing list