Class AsyncMutexTests
Tests for AsyncMutex: the guarantee the whole point of the type rests on —
that a critical section spanning an await runs to completion before the next caller enters.
Inheritance
AsyncMutexTests
Assembly: Tests.dll
Syntax
public class AsyncMutexTests
Constructors
AsyncMutexTests()
Declaration
Methods
Handle_ReleasesOnceEvenWhenDisposedTwice()
Declaration
public Task Handle_ReleasesOnceEvenWhenDisposedTwice()
Returns
LockAsync_AlreadyCancelledToken_DoesNotEnter()
Declaration
public void LockAsync_AlreadyCancelledToken_DoesNotEnter()
LockAsync_LostUpdateIsPreventedAcrossAnAwait()
Declaration
public Task LockAsync_LostUpdateIsPreventedAcrossAnAwait()
Returns
LockAsync_ReleasesEvenWhenTheSectionThrows()
Declaration
public Task LockAsync_ReleasesEvenWhenTheSectionThrows()
Returns
LockAsync_SerializesOverlappingSections()
Declaration
public Task LockAsync_SerializesOverlappingSections()
Returns