public ResourceLock TryAcquireRead() { if (_lock.TryEnterReadLock(0)) { return(ResourceLock.Reader(this)); } return(null); }
public ResourceLock AcquireRead() { UnsafeEnterRead(); return(ResourceLock.Reader(this)); }