CounterpointCollective.Threading 10.1.128

dotnet add package CounterpointCollective.Threading --version 10.1.128
                    
NuGet\Install-Package CounterpointCollective.Threading -Version 10.1.128
                    
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="CounterpointCollective.Threading" Version="10.1.128" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="CounterpointCollective.Threading" Version="10.1.128" />
                    
Directory.Packages.props
<PackageReference Include="CounterpointCollective.Threading" />
                    
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 CounterpointCollective.Threading --version 10.1.128
                    
#r "nuget: CounterpointCollective.Threading, 10.1.128"
                    
#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 CounterpointCollective.Threading@10.1.128
                    
#: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=CounterpointCollective.Threading&version=10.1.128
                    
Install as a Cake Addin
#tool nuget:?package=CounterpointCollective.Threading&version=10.1.128
                    
Install as a Cake Tool

CounterpointCollective.Threading

Advanced threading primitives for .NET 10, providing efficient and composable synchronization mechanisms for modern, high-performance applications.

Api documentation

Features

  • AsyncAutoResetEventSlim
    An async-compatible auto-reset event for fine-grained signaling between tasks.

  • AsyncManualResetEventSlim
    An async-compatible manual-reset event for flexible coordination.

  • Thread-safe design
    All primitives are safe for use in concurrent and asynchronous environments.

  • Integration
    Designed to work seamlessly with other CounterpointCollective libraries, such as CoalescingQueue.

Getting Started

Prerequisites

Installation

Add the NuGet package to your project:

dotnet add package CounterpointCollective.Threading

Usage Example:

using CounterpointCollective.Threading;
var autoResetEvent = new AsyncAutoResetEventSlim();
// Signal from one task 
autoResetEvent.Set();
// Await in another task 
await autoResetEvent.WaitAsync();

API Highlights

  • AsyncAutoResetEventSlim: Async auto-reset event for signaling.
  • AsyncManualResetEventSlim: Async manual-reset event for coordination.

Project Structure

  • AsyncAutoResetEventSlim.cs: Implementation of async auto-reset event.
  • AsyncManualResetEventSlim.cs: Implementation of async manual-reset event.

License

MIT

Repository

GitLab - PrestoPrimitives


Maintained by CounterpointCollective.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net10.0

    • No dependencies.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on CounterpointCollective.Threading:

Package Downloads
CounterpointCollective.CoalescingQueue

Efficient, thread-safe coalescing queue implementation for .NET 10, designed for high-throughput scenarios where duplicate work items should be merged and resource usage optimized.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
10.1.128 94 1/17/2026
10.1.126 101 12/29/2025