ntdll: use the configured CriticalSection timeout in RtlpWaitForCriticalSection

Daniel Lehman dlehman at esri.com
Thu Sep 11 10:57:42 CDT 2014


under certain loads, a minute and 5 seconds isn't enough before the deadlock exception is thrown for internal critical sections

the attached uses the timeout value read from the registry in load_global_options()

it'll still print the "section wait timed out" trace to hint that there may be a deadlock
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-ntdll-use-the-configured-CriticalSection-timeout-in-.patch
Type: application/octet-stream
Size: 2247 bytes
Desc: 0001-ntdll-use-the-configured-CriticalSection-timeout-in-.patch
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20140911/f4afa9e4/attachment.obj>


More information about the wine-patches mailing list