Function IAtomicRefCounted.rcLockShared

Returns whether the refCount >= 1. This increases the refCount by 1. rcLock should be used to keep weak reference and ensures that the resource is not disposed. The operation is atomic.

abstract bool rcLockShared() shared;