[PATCH] msvcr120: Fixed a race condition in Concurrency::critical_section.

Yifu Wang YWang at esri.com
Tue Dec 30 17:45:11 CST 2014

Fixed a race condition which could corrupt the critical_section data structure and causes critical_section_unlock() to hang. See comment in patch for detail.
Added a simple testcase for critical_section.
 dlls/msvcr120/tests/msvcr120.c |  133 +++++++++++++++++++++++++++++++++++++---
 dlls/msvcrt/lock.c             |   22 ++++++-
 2 files changed, 145 insertions(+), 10 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-msvcr120-Fixed-a-race-condition-in-Concurrency-criti.patch
Type: application/octet-stream
Size: 7473 bytes
Desc: 0001-msvcr120-Fixed-a-race-condition-in-Concurrency-criti.patch
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20141230/d4c11793/attachment.obj>

More information about the wine-patches mailing list