[PATCH] msvcr120: Fixed bugs in Concurrency::critical_section.

Yifu Wang YWang at esri.com
Wed Dec 31 19:53:32 CST 2014


critical_section_lock/try_lock/try_lock_for():
- Fixed a race condition which would corrupt the critical_section data structure and cause critical_section_unlock() to hang.

critical_section_try_lock_for():
- Fixed a bug which would hang the program in the event where timer expires.

Critical_section_unlock():
- Fixed a leak.
---
 dlls/msvcr120/tests/msvcr120.c |  185 +++++++++++++++++++++++++++++++++++++---
 dlls/msvcrt/lock.c             |   27 ++++---
 2 files changed, 190 insertions(+), 22 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-msvcr120-Fixed-bugs-in-Concurrency-critical_section.patch
Type: application/octet-stream
Size: 10828 bytes
Desc: 0001-msvcr120-Fixed-bugs-in-Concurrency-critical_section.patch
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20150101/35cef2c9/attachment.obj>


More information about the wine-patches mailing list