ReaderWriterLockSlimUtility class

Extension methods for ReaderWriterLockSlim

public static class ReaderWriterLockSlimUtility

Public Members

name description
static AcquireReadLock(…) Enters a read lock and returns a disposable object that, when disposed, will exit the lock.
static AcquireUpgradeableReadLock(…) Enters an upgradeable read lock and returns a disposable object that, when disposed, will exit the lock.
static AcquireWriteLock(…) Enters a write lock and returns a disposable object that, when disposed, will exit the lock.

See Also