Method EnterUpgradeableReadGuard
EnterUpgradeableReadGuard()
Enters the lock in upgradeable read mode and returns a guard that releases the lock upon disposal. The guard can temporarily upgrade to scoped write access or permanently downgrade to a plain read lock. Only one thread can hold the lock in upgradeable read mode at a time.
Declaration
public UpgradeableReadGuard EnterUpgradeableReadGuard()
Returns
| Type | Description |
|---|---|
| UpgradeableReadGuard |