[WINMM] always check for open and close enents in wave test

Alexandre Julliard julliard at winehq.org
Tue May 30 13:49:47 CDT 2006

Robert Reif <reif at earthlink.net> writes:

> Fix CreateThread/waveOutOpen race by forcing parent thread to sleep
> which allows background thread to run and block before waveOutOpen is
> called.

If the background thread has to run for things to work, you need to
add a real synchronisation mechanism. A Sleep is not fixing anything,
it's just making the race condition less likely.

Alexandre Julliard
julliard at winehq.org

More information about the wine-devel mailing list