By using the InterlockedCompareExchange function.
Created attachment 144170 [details] the patch
Comment on attachment 144170 [details] the patch r=me (assuming this passes win EWS)
(In reply to comment #2) > (From update of attachment 144170 [details]) > r=me (assuming this passes win EWS) Thanks! Will await the greenness.
Comment on attachment 144170 [details] the patch Attachment 144170 [details] did not pass win-ews (win): Output: http://queues.webkit.org/results/12801605
Created attachment 144174 [details] attempt to actually make it build
Comment on attachment 144174 [details] attempt to actually make it build Clearing flags on attachment: 144174 Committed r118603: <http://trac.webkit.org/changeset/118603>
All reviewed patches have been landed. Closing bug.
Comment on attachment 144170 [details] the patch Windows EWS says: 2>c:\cygwin\home\buildbot\WebKit\Source\WTF\wtf/Atomics.h(124) : error C2664: 'InterlockedCompareExchange' : cannot convert parameter 1 from 'volatile unsigned int *' to 'volatile LONG *' Thus, I suspect we have a need for some type casting.
Oh, I see that was fixed before landing.