A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://dotnet.github.io/dotNext/api/DotNext.Threading.QueuedSynchronizer.html below:

Class QueuedSynchronizer | .NEXT

Class QueuedSynchronizer

Provides a framework for implementing asynchronous locks and related synchronization primitives that rely on first-in-first-out (FIFO) wait queues.

Inheritance

QueuedSynchronizer

Namespace: DotNext.Threading Assembly: DotNext.Threading.dll Syntax
public class QueuedSynchronizer : Disposable, IDisposable
Properties | Edit this page View Source MeasurementTags

Sets a list of tags to be associated with each measurement.

Declaration
[CLSCompliant(false)]
public TagList MeasurementTags { init; }
Property Value Methods | Edit this page View Source CancelSuspendedCallers(CancellationToken)

Cancels all suspended callers.

Declaration
public void CancelSuspendedCallers(CancellationToken token)
Parameters Exceptions | Edit this page View Source Dispose(bool)

Releases all resources associated with this object.

Declaration
protected override void Dispose(bool disposing)
Parameters Type Name Description bool disposing

Indicates whether the Dispose(bool) has been called directly or from finalizer.

Overrides | Edit this page View Source Dispose(Exception?)

Releases all resources associated with this object.

Declaration
public void Dispose(Exception? reason)
Parameters Type Name Description Exception reason

The exeption to be passed to all suspended callers.

| Edit this page View Source DisposeAsync()

Disposes this synchronization primitive gracefully.

Declaration
public ValueTask DisposeAsync()
Returns Type Description ValueTask

The task representing asynchronous result.

| Edit this page View Source DisposeAsyncCore()

Releases managed resources associated with this object asynchronously.

Declaration
protected override ValueTask DisposeAsyncCore()
Returns Type Description ValueTask

The task representing asynchronous execution of this method.

Overrides | Edit this page View Source GetSuspendedCallers()

Gets a list of suspended callers respecting their order in wait queue.

Declaration
public IReadOnlyList<object?> GetSuspendedCallers()
Returns See Also | Edit this page View Source SetCallerInformation(object)

Sets caller information in DEBUG configuration.

Declaration
[Conditional("DEBUG")]
public void SetCallerInformation(object information)
Parameters Type Name Description object information

The object that identifies the caller.

| Edit this page View Source TrackSuspendedCallers(Func<object>?)

Enables capturing information about suspended callers in DEBUG configuration.

Declaration
[Conditional("DEBUG")]
public void TrackSuspendedCallers(Func<object>? callerInfoProvider = null)
Parameters Type Name Description Func<object> callerInfoProvider

The optional factory of the information about the caller.

Implements Extension Methods

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4