olefont: ref count cleanup

James Hawkins truiken at gmail.com
Fri Sep 17 15:28:43 CDT 2004


> (or the equivalent) then they should all only be as parameters to
> Interlocked* functions

Does that apply to the TRACE's as well?


On Fri, 17 Sep 2004 21:22:22 +0100, Robert Shearman <rob at codeweavers.com> wrote:
> James Hawkins wrote:
> 
> >Changelog
> >    * Use InterlockedDecrement and InterlockedIncrement instead of ++/--.
> >
> >
> 
> Again, all of these patches do not fix the whole point about using the
> Interlocked* functions, which is that the variable must always be used
> *atomically*. That means if you grep the file for uses of "This->ref"
> (or the equivalent) then they should all only be as parameters to
> Interlocked* functions.
> 
> Rob
> 
> 



-- 
James Hawkins



More information about the wine-devel mailing list