[vlc-devel] commit: playlist: add a fixme => race condition. ( Rémi Duraffort )
    git version control 
    git at videolan.org
       
    Mon Dec 28 14:44:29 CET 2009
    
    
  
vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Sun Dec 20 10:54:16 2009 +0100| [4434af1357525d2c49da1f6ed52f043b06d13da1] | committer: Rémi Duraffort 
playlist: add a fixme => race condition.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=4434af1357525d2c49da1f6ed52f043b06d13da1
---
 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 267d00e..a571f69 100644
--- a/src/playlist/thread.c
+++ b/src/playlist/thread.c
@@ -299,7 +299,7 @@ static int PlayItem( playlist_t *p_playlist, playlist_item_t *p_item )
         free( psz_arturl );
         free( psz_name );
     }
-
+    /* FIXME: this is not safe !!*/
     PL_UNLOCK;
     var_SetAddress( p_playlist, "item-current", p_input );
     PL_LOCK;
    
    
More information about the vlc-devel
mailing list