- Use Interlocked* functions in AddRef and Release. - Store the result of the Interlocked functions and use only this.