CounterpointCollective.Threading
10.1.128
dotnet add package CounterpointCollective.Threading --version 10.1.128
NuGet\Install-Package CounterpointCollective.Threading -Version 10.1.128
<PackageReference Include="CounterpointCollective.Threading" Version="10.1.128" />
<PackageVersion Include="CounterpointCollective.Threading" Version="10.1.128" />
<PackageReference Include="CounterpointCollective.Threading" />
paket add CounterpointCollective.Threading --version 10.1.128
#r "nuget: CounterpointCollective.Threading, 10.1.128"
#:package CounterpointCollective.Threading@10.1.128
#addin nuget:?package=CounterpointCollective.Threading&version=10.1.128
#tool nuget:?package=CounterpointCollective.Threading&version=10.1.128
CounterpointCollective.Threading
Advanced threading primitives for .NET 10, providing efficient and composable synchronization mechanisms for modern, high-performance applications.
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
Maintained by CounterpointCollective.
| Product | Versions 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. |
-
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.