CCSWE.nanoFramework.Threading 1.1.122

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

Build License NuGet

CCSWE.nanoFramework.Threading

Utilities to simplify thread management on nanoFramework devices.

ThreadPool

A general-purpose managed worker pool that eliminates the cost of spinning up new threads for each work item:

ThreadPool.QueueUserWorkItem(state =>
{
    // work item runs on a pooled thread
}, null);
Member Description
Workers Maximum number of worker threads (default: 64)
WorkItems Maximum pending work item queue depth (default: 64)
ThreadCount Current number of active threads
PendingWorkItemCount Number of queued work items waiting to run
QueueUserWorkItem(WaitCallback, object) Enqueue a work item
SetMinThreads(int) Pre-warm a minimum number of threads

ConsumerThreadPool

A specialized pool that processes items from a queue using a fixed number of consumer threads:

var pool = new ConsumerThreadPool(consumerCount: 2, (item) =>
{
    // process each item on a consumer thread
});

pool.Enqueue(myItem);

// dispose to stop consumer threads
pool.Dispose();

WaitHandles

Helper methods for waiting on multiple WaitHandle instances:

WaitHandles.WaitAll(new WaitHandle[] { handle1, handle2 });
WaitHandles.WaitAny(new WaitHandle[] { handle1, handle2 });
Product Compatible and additional computed target framework versions.
.NETnanoFramework netnano1.0 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (4)

Showing the top 4 NuGet packages that depend on CCSWE.nanoFramework.Threading:

Package Downloads
CCSWE.nanoFramework.Configuration

Manage configuration data for your application.

CCSWE.nanoFramework.Mediator

A simple asynchronous mediator implementation for nanoFramework.

CCSWE.nanoFramework.WebServer

A simple asynchronous web server implementation for .NET nanoFramework that tries to mimic the ASP.NET Core implementation.

CCSWE.nanoFramework.Threading.TestFramework

A helper for managing ThreadPool during unit tests.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.1.122 10 4/13/2026
1.1.117 48 4/13/2026
1.1.114 90 4/10/2026
1.1.113 86 4/10/2026
1.1.112 93 4/9/2026
1.1.104 102 4/8/2026
1.1.103 121 4/8/2026
1.1.101 138 4/7/2026
1.1.100 135 4/7/2026
1.1.99 141 4/7/2026
1.1.97 269 4/2/2026
Loading failed