[vlc-devel] commit: Fix libvlc reentrancy ( Rafaël Carré )
git version control
git at videolan.org
Fri Aug 1 17:54:00 CEST 2008
vlc | branch: 0.8.6-bugfix | Rafaël Carré <rcarre at m2x.nl> | Fri Aug 1 17:38:35 2008 +0200| [447a2aa9d41b2b53a6236a70f6ce828a0303434d] | committer: Rafaël Carré
Fix libvlc reentrancy
msg_Create() and msg_Destroy() would be called for each creation/destruction
of a libvlc instance, while the data they initialize is shared by every instance
Remove unused queue parameter in msg handling
Do not call msg_* when a threading error occurs:
Instead, fprintf() the error on stderr
Use assert() to crash when such an error occurs
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=447a2aa9d41b2b53a6236a70f6ce828a0303434d
---
include/main.h | 6 +-
include/vlc_messages.h | 46 +++------
include/vlc_symbols.h | 50 +++++----
include/vlc_threads_funcs.h | 101 +++++-------------
modules/codec/ffmpeg/ffmpeg.c | 3 +-
modules/demux/mkv.cpp | 4 +-
modules/gui/beos/MessagesWindow.cpp | 4 +-
modules/gui/macosx/intf.m | 4 +-
modules/gui/ncurses.c | 4 +-
modules/gui/skins2/src/skin_main.cpp | 4 +-
modules/gui/wince/wince.cpp | 4 +-
modules/gui/wxwidgets/wxwidgets.cpp | 4 +-
modules/misc/logger.c | 4 +-
mozilla/vlcplugin.cpp | 2 +-
src/control/log.c | 2 +-
src/libvlc.c | 12 ++-
src/misc/messages.c | 194 +++++++++++-----------------------
src/misc/threads.c | 69 ++++--------
18 files changed, 179 insertions(+), 338 deletions(-)
Diff: http://git.videolan.org/gitweb.cgi/vlc.git/?a=commitdiff;h=447a2aa9d41b2b53a6236a70f6ce828a0303434d
More information about the vlc-devel
mailing list