Changeset ef81e665be4bf3a169443a8af0cce89af39ce4de

Show
Ignore:
Timestamp:
03/30/08 17:08:18 (5 months ago)
Author:
Pierre d'Herbemont <pdherbemont@videolan.org>
git-committer:
Pierre d'Herbemont <pdherbemont@videolan.org> 1206889698 +0200
git-parent:

[a11817c9ba314e5f4f13d33c24d248f51b6ad2d3]

git-author:
Pierre d'Herbemont <pdherbemont@videolan.org> 1206889698 +0200
Message:

playlist: Use PL_LOCK and PL_UNLOCK.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • src/playlist/thread.c

    ra11817c ref81e66  
    152152    while( vlc_object_alive( p_playlist ) ) 
    153153    { 
    154         vlc_object_unlock( p_playlist )
     154        PL_UNLOCK
    155155        playlist_MainLoop( p_playlist ); 
    156         vlc_object_lock( p_playlist )
     156        PL_LOCK
    157157 
    158158        if( p_playlist->b_cant_sleep ) 
    159159        { 
    160160            /* 100 ms is an acceptable delay for playlist operations */ 
    161             vlc_object_unlock( p_playlist )
     161            PL_UNLOCK
    162162            msleep( INTF_IDLE_SLEEP*2 ); 
    163             vlc_object_lock( p_playlist )
     163            PL_LOCK
    164164        } 
    165165        else