Soenneker.Queues.Intrusive.Abstractions 11.0.35

Prefix Reserved
dotnet add package Soenneker.Queues.Intrusive.Abstractions --version 11.0.35
                    
NuGet\Install-Package Soenneker.Queues.Intrusive.Abstractions -Version 11.0.35
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Soenneker.Queues.Intrusive.Abstractions" Version="11.0.35" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Soenneker.Queues.Intrusive.Abstractions" Version="11.0.35" />
                    
Directory.Packages.props
<PackageReference Include="Soenneker.Queues.Intrusive.Abstractions" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Soenneker.Queues.Intrusive.Abstractions --version 11.0.35
                    
#r "nuget: Soenneker.Queues.Intrusive.Abstractions, 11.0.35"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Soenneker.Queues.Intrusive.Abstractions@11.0.35
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Soenneker.Queues.Intrusive.Abstractions&version=11.0.35
                    
Install as a Cake Addin
#tool nuget:?package=Soenneker.Queues.Intrusive.Abstractions&version=11.0.35
                    
Install as a Cake Tool

alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image

Soenneker.Queues.Intrusive.Abstractions

Defines the forward-link contract used by Soenneker intrusive queues and provides a reusable node base class.

An intrusive queue stores linkage on the queued object itself. This avoids allocating a separate wrapper node, but it also means the queue owns that link while the object is enqueued.

Install

dotnet add package Soenneker.Queues.Intrusive.Abstractions

Define a node

The simplest implementation derives from IntrusiveNode<TNode>:

using Soenneker.Queues.Intrusive.Abstractions;

public sealed class WorkItem : IntrusiveNode<WorkItem>
{
    public required string Payload { get; init; }
}

Use IIntrusiveNode<TNode> directly when the type already has its own base class:

public sealed class WorkItem : IIntrusiveNode<WorkItem>
{
    private WorkItem? _next;

    public ref WorkItem? Next => ref _next;
}

Next must return a reference to a real, stable field. Lock-free queue implementations use that storage with Volatile and Interlocked; a computed value or temporary does not satisfy the contract.

Ownership rules

  • Do not read or write Next while the node is owned by a queue.
  • Do not enqueue the same node twice, concurrently, or into two intrusive structures at once.
  • Reuse a node only after the owning queue has removed it.
  • Expect queue implementations to clear Next during enqueue, dequeue, or reuse preparation.

Violating these rules can corrupt queue linkage. The abstractions intentionally do not add per-node state or runtime checks that would change the lock-free data structure’s cost model.

Product Compatible and additional computed target framework versions.
.NET net11.0 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net11.0

    • No dependencies.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on Soenneker.Queues.Intrusive.Abstractions:

Package Downloads
Soenneker.Queues.Intrusive.ValueMpsc

Provides a high performance mpsc intrusive queue primitive

Soenneker.Queues.Intrusive.Mpsc

Provides a high performance mpsc intrusive queue primitive

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
11.0.35 13,761 11/18/2026
11.0.34 132,995 11/11/2026
11.0.33 210,070 10/26/2026
4.0.32 99,186 10/14/2026
4.0.31 2,832 10/14/2026
4.0.26 6,417 10/12/2026
4.0.25 127 10/12/2026
4.0.24 36,526 10/11/2026
4.0.23 233,237 9/24/2026
4.0.22 93,439 9/15/2026
4.0.21 75,456 9/12/2026
4.0.20 285,749 8/30/2026
4.0.19 33,643 8/29/2026
4.0.18 129 8/29/2026
4.0.17 373,757 7/28/2026
4.0.16 120,929 7/18/2026
4.0.15 273,056 6/18/2026
4.0.14 215,200 6/5/2026
4.0.13 148 6/5/2026
4.0.12 272,483 4/23/2026
Loading failed

Configure .NET CI defaults and daily source scans