• Rémi Denis-Courmont's avatar
    Hide i_children and pp_children away · 8dba8057
    Rémi Denis-Courmont authored
    They can only be read safely under the Big Structure Lock in
    src/misc/objects.c, so it makes no sense for them to be public.
    
    By the way, making i_children volatile wouldn't magically solve
    thread-safety issues. The only correct use of volatile is in dealing
    with asynchronous changes _within_ the same thread, such as signal
    handling.
    
    P.S.: I wish modules were not objects, and I wonder why they are
    (they don't don't use threads, nor plugins, nor variables)
    8dba8057
libvlc-common.c 68.6 KB