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