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

List:       wine-devel
Subject:    Re: WaitForMultipleObjects loops forever if passed an array of size
From:       Alexandre Julliard <julliard () winehq ! org>
Date:       2003-06-28 2:52:29
[Download RAW message or body]

Troy Rollo <wine@troy.rollo.name> writes:

> It now occurs to me that this fix not entirely right either - or at least it 
> doesn't avoid creating another bug, since Sleep(INFINITE) is valid, and Sleep 
> goes through WaitForMultipleObjectsEx.
>
> However, since WaitForMultipleObjectsEx(0, NULL, FALSE, INFINITE, FALSE) 
> returns an error on Win2k, this use of WaitForMultipleObjectsEx to implement 
> Sleep must be wrong.

You are right, our implementation of Sleep is broken. I'll fix that.

-- 
Alexandre Julliard
julliard@winehq.com

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

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