Changeset 2c5dbee651298b3a8d8538a2f1415f78e4f25a84

Show
Ignore:
Timestamp:
16/01/08 20:36:50 (11 months ago)
Author:
Rémi Denis-Courmont <rem@videolan.org>
git-committer:
Rémi Denis-Courmont <rem@videolan.org> 1200512210 +0000
git-parent:

[658b4f830b832b19a6de708764f91e1398e501a1]

git-author:
Rémi Denis-Courmont <rem@videolan.org> 1200512210 +0000
Message:

Don't complain about timeouts on Windows in cond_timedwait.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • include/vlc_threads_funcs.h

    r192a207 r2c5dbee  
    608608 
    609609    i_res = (int)result; 
     610    if(result == WAIT_TIMEOUT) 
     611       return WAIT_TIMEOUT; /* this error is perfectly normal */ 
    610612 
    611613#elif defined( WIN32 ) 
     
    696698    /* Reacquire the mutex before returning. */ 
    697699    vlc_mutex_lock( p_mutex ); 
     700    if(result == WAIT_TIMEOUT) 
     701       return WAIT_TIMEOUT; /* this error is perfectly normal */ 
    698702 
    699703    i_res = (int)result;