Function IAtomicRefCounted.rcLock

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.

final abstract bool rcLock();