UnlockAsync Method
UnlockAsync(TKey)
Unlocks an entry.
Declaration
Task UnlockAsync(TKey key)
Parameters
TKey | key | The key identifying the entry. |
Returns
Task | A task that will complete when the entry has been unlocked. |
Remarks
An entry can be unlocked only by the owner of the lock.
Locks are re-entrant, but counted: if an entry is locked N times, then it should be unlocked N times before another owner can lock it.