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

Yifu Wang YWang at esri.com
Wed Feb 11 16:55:44 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/msvcrt/lock.c | 29 ++++++++++++++++++-----------
 1 file changed, 18 insertions(+), 11 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-msvcr120-Fixed-bugs-in-Concurrency-critical_section.patch
Type: application/octet-stream
Size: 2972 bytes
Desc: 0001-msvcr120-Fixed-bugs-in-Concurrency-critical_section.patch
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20150211/acac56fd/attachment.obj>


More information about the wine-patches mailing list