[MPlayer-dev-eng] [PATCH] Fix return values of WaitForSingleObject when checking an event

Reimar Döffinger Reimar.Doeffinger at gmx.de
Tue Mar 2 08:00:09 CET 2010


On Mon, Mar 01, 2010 at 03:01:07PM +0100, Steinar H. Gunderson wrote:
> Subject says it all. Should be a pretty obvious fix.

Agreed, but there is an issue in the "Timed Wait" case as well,
pthread_cond_timedwait is not called in a loop and the "ret"
check only works by chance as long as ETIMEDOUT != WAIT_FAILED



More information about the MPlayer-dev-eng mailing list