Changeset 1a3b1a8f27df60a72615dfc1e18423ab5cf02a5e

Show
Ignore:
Timestamp:
20/09/08 22:43:22 (2 months ago)
Author:
Antoine Cellerier <dionoea@videolan.org>
git-committer:
Antoine Cellerier <dionoea@videolan.org> 1221943402 +0200
git-parent:

[aeb8ac0199a5924a357414284ef119f868808022]

git-author:
Antoine Cellerier <dionoea@videolan.org> 1221943402 +0200
Message:

Remove last occurences of yield in the code and comments.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/codec/libass.c

    r8f83ef4 r1a3b1a8  
    7979    video_format_t  fmt; 
    8080} ass_handle_t; 
    81 static ass_handle_t *AssHandleYield( decoder_t *p_dec ); 
     81static ass_handle_t *AssHandleHold( decoder_t *p_dec ); 
    8282static void AssHandleRelease( ass_handle_t * ); 
    8383 
     
    9999}; 
    100100static void DecSysRelease( decoder_sys_t *p_sys ); 
    101 static void DecSysYield( decoder_sys_t *p_sys ); 
     101static void DecSysHold( decoder_sys_t *p_sys ); 
    102102 
    103103struct subpicture_sys_t 
     
    141141 
    142142    /* */ 
    143     p_sys->p_ass = AssHandleYield( p_dec ); 
     143    p_sys->p_ass = AssHandleHold( p_dec ); 
    144144    if( !p_sys->p_ass ) 
    145145    { 
     
    175175} 
    176176 
    177 static void DecSysYield( decoder_sys_t *p_sys ) 
     177static void DecSysHold( decoder_sys_t *p_sys ) 
    178178{ 
    179179    vlc_mutex_lock( &p_sys->lock ); 
     
    291291    p_spu->p_sys->p_dec_sys = p_sys; 
    292292 
    293     DecSysYield( p_sys ); 
     293    DecSysHold( p_sys ); 
    294294 
    295295    block_Release( p_block ); 
     
    631631 
    632632/* */ 
    633 static ass_handle_t *AssHandleYield( decoder_t *p_dec ) 
     633static ass_handle_t *AssHandleHold( decoder_t *p_dec ) 
    634634{ 
    635635    vlc_mutex_t *p_lock = var_AcquireMutex( "libass" ); 
  • modules/gui/qt4/input_manager.cpp

    rba6501f r1a3b1a8  
    8181/* Define the Input used. 
    8282   Add the callbacks on input 
    83    p_input is yield once here */ 
     83   p_input is held once here */ 
    8484void InputManager::setInput( input_thread_t *_p_input ) 
    8585{ 
  • modules/services_discovery/sap.c

    ra77e240 r1a3b1a8  
    664664    } 
    665665 
    666     /* This item hasn't been yield by input_GetItem 
     666    /* This item hasn't been held by input_GetItem 
    667667     * don't release it */ 
    668668    p_parent_input = input_GetItem( p_input ); 
  • src/misc/objects.c

    rba6501f r1a3b1a8  
    653653    /* Remember that we cannot hold the spin while waiting on the mutex */ 
    654654    vlc_mutex_lock( &structure_lock ); 
    655     /* Take the spin again. Note that another thread may have yielded the 
     655    /* Take the spin again. Note that another thread may have held the 
    656656     * object in the (very short) mean time. */ 
    657657    vlc_spin_lock( &internals->ref_spin ); 
  • src/modules/modules.c

    r7060dbb r1a3b1a8  
    541541    } 
    542542 
    543     /* We can release the list, interesting modules were yielded */ 
     543    /* We can release the list, interesting modules were held */ 
    544544    vlc_list_release( p_all ); 
    545545 
  • src/playlist/control.c

    rba6501f r1a3b1a8  
    4949    pl = libvlc_priv (p_this->p_libvlc)->p_playlist; 
    5050 
    51     assert( VLC_OBJECT(pl) != p_this /* This does not make sense to yield the playlist 
     51    assert( VLC_OBJECT(pl) != p_this /* This does not make sense to hold the playlist 
    5252    using pl_Hold. use vlc_object_hold in this case */ ); 
    5353