[vlc-devel] commit: objects: Make sure that we don't loose a vlc_object_kill() when attaching to a dead or dying parent. (Pierre d'Herbemont )

Pierre d'Herbemont pdherbemont at free.fr
Fri May 30 14:21:59 CEST 2008


On May 30, 2008, at 2:18 PM, git version control wrote:

> vlc | branch: master | Pierre d'Herbemont <pdherbemont at videolan.org>  
> | Fri May 30 14:18:02 2008 +0200|  
> [a9565f33d3e6742d5a18c8a0e6b8d811d95cc885]
>
> objects: Make sure that we don't loose a vlc_object_kill() when  
> attaching to a dead or dying parent.
>
> Note: We do need to lock the parent for that.

We may want to protect priv->pp_children by locking the object lock  
anyway. (vlc_object_kill can't properly lock the structure_lock, and  
might end up in killing detached objects.)

Pierre.




More information about the vlc-devel mailing list