[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wine-devel
Subject:    Re: [WINMM] always check for open and close enents in wave test
From:       Alexandre Julliard <julliard () winehq ! org>
Date:       2006-05-30 18:49:47
Message-ID: 87pshvcppw.fsf () wine ! dyndns ! org
[Download RAW message or body]

Robert Reif <reif@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@winehq.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic