QueuedSynchronizer<TContext>
Provides low-level infrastructure for writing custom synchronization primitives.
Initializes a new synchronization primitive.
Implements acquire semantics: attempts to move this object to acquired state asynchronously.
Implements acquire semantics: attempts to move this object to acquired state asynchronously.
Modifies the internal state according to acquisition semantics.
Tests whether the lock acquisition can be done successfully before calling AcquireCore.
Implements release semantics: attempts to resume the suspended callers.
Implements release semantics: attempts to resume the suspended callers.
Modifies the internal state according to release semantics.
Implements acquire semantics: attempts to move this object to acquired state synchronously.
protected ValueTask<bool> TryAcquireAsync(TContext context, TimeSpan timeout, CancellationToken token)
Implements acquire semantics: attempts to move this object to acquired state asynchronously.