AtomicRefCounted.rcLock

Get a copy of this RefCounted instance if the refCount >= 1. This increases the refCount by 1. This should only be used to keep weak reference and ensures that the resource is not disposed. The operation is atomic.

interface AtomicRefCounted
shared
rcLock
()

Meta