]> git.sesse.net Git - vlc/commit
Hide i_children and pp_children away
authorRémi Denis-Courmont <rem@videolan.org>
Fri, 16 May 2008 14:59:03 +0000 (17:59 +0300)
committerRémi Denis-Courmont <rem@videolan.org>
Fri, 16 May 2008 16:01:19 +0000 (19:01 +0300)
commit8dba805732a431558c1218104dfeb667d9b5df63
tree0cfaf132238a9deb453e35fe5fbf162b87974dbd
parent414624cea784dc0c97bb99826bad98b3c95fda36
Hide i_children and pp_children away

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)
include/vlc_common.h
src/libvlc-common.c
src/libvlc.h
src/misc/objects.c
src/modules/cache.c
src/modules/modules.c