[Webkit-unassigned] [Bug 41792] [WINCE] Implement TCSpinLock

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jul 23 09:05:47 PDT 2010


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





--- Comment #6 from Adam Roben (aroben) <aroben at apple.com>  2010-07-23 09:05:47 PST ---
(In reply to comment #4)
> Created an attachment (id=62428)
 --> (https://bugs.webkit.org/attachment.cgi?id=62428) [details]
> Patch
> 
> (In reply to comment #3)
> > I don't understand how this code will be compiled for WinCE. The first branch of this #if/#elif chain is:
> > 
> > #if (CPU(X86) || CPU(X86_64) || CPU(PPC)) && (COMPILER(GCC) || COMPILER(MSVC))
> > 
> > Will WinCE not match that condition?
> CPU(ARM)

Ah!

> > > +    LONG m_lockword;
> > 
> > I think m_lockword is supposed to be a volatile LONG.
> 
> No, otherwise you get "convert parameter 1 from 'volatile LONG *' to 'LPLONG'"

I guess InterlockedExchange has a different signature on WinCE.

-- 
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