Module: wine Branch: master Commit: 443a5dbd809db5ca553e47aaeca3f82c2f3c2661 URL: http://source.winehq.org/git/wine.git/?a=commit;h=443a5dbd809db5ca553e47aaec... Author: Alexandre Julliard <julliard(a)winehq.org> Date: Wed Jan 10 21:53:39 2007 +0100 ntdll: Make sure that critical section waits are not interrupted. --- dlls/ntdll/critsection.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dlls/ntdll/critsection.c b/dlls/ntdll/critsection.c index 5cfa4d2..2be8af2 100644 --- a/dlls/ntdll/critsection.c +++ b/dlls/ntdll/critsection.c @@ -231,7 +231,7 @@ static inline NTSTATUS wait_semaphore( R 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; }