olefont: ref count cleanup
Robert Shearman
rob at codeweavers.com
Fri Sep 17 15:22:22 CDT 2004
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
More information about the wine-devel
mailing list