ntdll: Make sure that critical section waits are not interrupted.

This commit is contained in:
Alexandre Julliard 2007-01-10 21:53:39 +01:00
parent e3247ecc70
commit 443a5dbd80
1 changed files with 1 additions and 1 deletions

View File

@ -231,7 +231,7 @@ static inline NTSTATUS wait_semaphore( RTL_CRITICAL_SECTION *crit, int timeout )
LARGE_INTEGER time;
time.QuadPart = timeout * (LONGLONG)-10000000;
ret = NtWaitForSingleObject( sem, FALSE, &time );
ret = NTDLL_wait_for_multiple_objects( 1, &sem, 0, &time, 0 );
}
return ret;
}