[vlc-devel] [Patch] vlc_threads_funcs, vlc_cond_timedwait

Rémi Denis-Courmont rem at videolan.org
Tue Dec 4 22:33:05 CET 2007


Le Tuesday 04 December 2007 23:05:54 Andre Weber, vous avez écrit :
> this patch is thought to avoid  the nearly useless error message on win32
> in the inline function vlc_cond_timedwait( )  - I have added the same code
> like it was done for the unix implementation
>
> if the result from WaitForSingleObject is the timeout error code ... which
> means not signaled
>
> I hope its right?

It should probably return ETIMEDOUT rather than some Win32 error. Otherwise, 
looks ok.

-- 
Rémi Denis-Courmont



More information about the vlc-devel mailing list