]> git.sesse.net Git - vlc/commit
*Partially* fix the module bank initialization serialization
authorRémi Denis-Courmont <rem@videolan.org>
Sun, 30 Mar 2008 14:02:23 +0000 (17:02 +0300)
committerRémi Denis-Courmont <rem@videolan.org>
Sun, 30 Mar 2008 14:15:09 +0000 (17:15 +0300)
commit30267d389073ee38e29728d0246ef5106e9e1f1a
treef4ba1ed9ba3b320c6fb299469502c64b5d5decc7
parent68996a07d479cc6e8dfe92094aa65c005fc05317
*Partially* fix the module bank initialization serialization

We should really keep the global "libvlc" lock while initializing the
modules bank. Otherwise, if a second instance is created while the
first one is initializing, it may get an incomplete bank. This commit
addresses the problem w.r.t. the "main" module - only.
src/modules/modules.c
src/modules/modules.h