[Bug 31487] kernel32.dll.InitOnceExecuteOnce needed for several MS installer (Office2013 / Windows Essentials 2012 / .NET Framework 4.5)

wine-bugs at winehq.org wine-bugs at winehq.org
Sun Apr 28 06:11:47 CDT 2013


http://bugs.winehq.org/show_bug.cgi?id=31487

--- Comment #16 from Anastasius Focht <focht at 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

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list