[vlc-devel] commit: playlist: small race between vlc_object_alive and vlc_cond_signal ( Rémi Denis-Courmont )
git version control
git at videolan.org
Sun Jan 31 00:09:04 CET 2010
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Jan 31 00:45:46 2010 +0200| [5f39f383534eb589db9860215430d8664df4cfcf] | committer: Rémi Denis-Courmont
playlist: small race between vlc_object_alive and vlc_cond_signal
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=5f39f383534eb589db9860215430d8664df4cfcf
---
src/playlist/thread.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/playlist/thread.c b/src/playlist/thread.c
index 8aaf782..9d42c3f 100644
--- a/src/playlist/thread.c
+++ b/src/playlist/thread.c
@@ -83,8 +83,8 @@ void playlist_Deactivate( playlist_t *p_playlist )
msg_Dbg( p_playlist, "Deactivate" );
- vlc_object_kill( p_playlist );
PL_LOCK;
+ vlc_object_kill( p_playlist );
vlc_cond_signal( &p_sys->signal );
PL_UNLOCK;
More information about the vlc-devel
mailing list