onFence);
        if (newVal == 0)
        {
            //
            // The virtual processor was in an activated state when it was removed -- we need to reduce the subscription level here.
            //
            Unsubscribe();
        }
        else
        {
            //
            // The value could be -1 if we raced with the virtual processor switching out.
            //
            ASSERT(newVal == -1);
        }
    }

} // namespace details
} // namespace Concurrency
