[1/7] ntdll: Throw STATUS_RESOURCE_NOT_OWNED when its impossible to acquire/release the SRWLock
Sebastian Lackner
sebastian at fds-team.de
Sat Jan 25 19:54:32 CST 2014
This set of patches adds the remaining SRWLock functions.
Patch 1 adds a RtlRaiseStatus such that exceptions are raised if its for
example impossible to release/acquire a lock. This matches the
behaviour on Windows (manually tested using the Testbot).
Patch 2-4 implement TryAcquireSRWLock* functions, which are only
available in Windows 7 and newer.
Patch 5-7 add the SleepConditionVariableSRW command.
---
dlls/ntdll/sync.c | 10 ++++++++++
1 file changed, 10 insertions(+)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001.txt
Type: application/octet-stream
Size: 1915 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20140126/f5b2d9fe/attachment.obj>
More information about the wine-patches
mailing list