http://bugs.winehq.org/show_bug.cgi?id=31487
--- Comment #16 from Anastasius Focht focht@gmx.net 2013-04-28 06:11:47 CDT --- Hello folks,
"Classic Shell/Classic Start Menu" also needs this now that bug 32878 is resolved.
Last comment: http://www.winehq.org/pipermail/wine-devel/2012-July/096399.html
--- quote --- It's supposed to return an NTSTATUS, not a boolean. Also you have to always return the context, and you should try to do a generic implementation first. --- quote ---
- atomic compare and exchange ops -> InterlockedCompareExchange - init race lost and need to wait for winning thread? -> small sleep + loop again (avoid more waitable objects to block/release waiters)
MSDN article about the usage patterns: https://blogs.msdn.com/b/oldnewthing/archive/2011/04/08/10151258.aspx
This blocks quite a number of applications...
$ wine --version wine-1.5.29-38-g8e4317c
Regards