Alexandre Julliard : ntdll:
Make sure that critical section waits are not interrupted.
Alexandre Julliard
julliard at wine.codeweavers.com
Wed Jan 10 15:47:06 CST 2007
Module: wine
Branch: master
Commit: 443a5dbd809db5ca553e47aaeca3f82c2f3c2661
URL: http://source.winehq.org/git/wine.git/?a=commit;h=443a5dbd809db5ca553e47aaeca3f82c2f3c2661
Author: Alexandre Julliard <julliard at 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;
}
More information about the wine-cvs
mailing list