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