[PATCH] msvcr120: Fixed bugs in Concurrency::critical_section. (resend)

Yifu Wang YWang at esri.com
Fri Jan 2 19:22:04 CST 2015


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 |  203 +++++++++++++++++++++++++++++++++++++--
 dlls/msvcrt/lock.c             |   29 ++++--
 2 files changed, 210 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: 11508 bytes
Desc: 0001-msvcr120-Fixed-bugs-in-Concurrency-critical_section.patch
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20150103/65a8d244/attachment.obj>


More information about the wine-patches mailing list