mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 17:44:45 +00:00
fixed WaitForMultipleObjects()'s handling of the WaitAll flag
svn path=/trunk/; revision=885
This commit is contained in:
parent
6b53b3acea
commit
4ce5c9d3b4
1 changed files with 1 additions and 1 deletions
|
@ -212,7 +212,7 @@ WaitForMultipleObjects(DWORD nCount,
|
|||
BOOL bWaitAll,
|
||||
DWORD dwMilliseconds)
|
||||
{
|
||||
return WaitForMultipleObjectsEx(nCount,lpHandles,bWaitAll,dwMilliseconds,FALSE);
|
||||
return WaitForMultipleObjectsEx( nCount, lpHandles, bWaitAll ? WaitAll : WaitAny, dwMilliseconds, FALSE );
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue