[Webkit-unassigned] [Bug 106740] Fix the atomicIncrement implementation for Windows

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jan 17 09:27:04 PST 2013


https://bugs.webkit.org/show_bug.cgi?id=106740





--- Comment #8 from Jocelyn Turcotte <jocelyn.turcotte at digia.com>  2013-01-17 09:28:51 PST ---
(In reply to comment #1)
> After trying build with InterlockedIncrement64 and InterlockedDecrement64, it seems it is not supported on 32bit build :(
> Msdn has some resources about it: http://msdn.microsoft.com/en-us/library/windows/desktop/2ddez55b%28v=vs.85%29.aspx

There:
http://msdn.microsoft.com/en-us/library/windows/desktop/ms683615(v=vs.85).aspx

They say:
"This function is implemented using a compiler intrinsic where possible. For more information, see the WinBase.h header file and _InterlockedIncrement64."

The 64bit intrinsic isn't available on 32bit like said in the page you refer, but this should mean that windows.h should export this function anyway and implement it without the intrinsic. But that doesn't fit with the error you get.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list