mlThreadMGMT 0.1.0
dotnet add package mlThreadMGMT --version 0.1.0
NuGet\Install-Package mlThreadMGMT -Version 0.1.0
<PackageReference Include="mlThreadMGMT" Version="0.1.0" />
<PackageVersion Include="mlThreadMGMT" Version="0.1.0" />
<PackageReference Include="mlThreadMGMT" />
paket add mlThreadMGMT --version 0.1.0
#r "nuget: mlThreadMGMT, 0.1.0"
#:package mlThreadMGMT@0.1.0
#addin nuget:?package=mlThreadMGMT&version=0.1.0
#tool nuget:?package=mlThreadMGMT&version=0.1.0
Overview
mlThreadMGMT is a low-level threading and concurrency framework for .NET designed around explicit control, deterministic lifecycles, and cooperative cancellation. Rather than abstracting work behind schedulers or implicit task orchestration, it treats each unit of work as a concrete, managed thread with a clearly defined execution contract.
At the core of the library is the ThreadTask type: a wrapper around a real operating system thread that provides structured startup, cooperative abort semantics, exception propagation, optional return values, and unified waiting behavior. Each task is paired with a ThreadController, which exposes runtime state, progress reporting, and cancellation signals to the executing code, enabling predictable and debuggable shutdown paths.
The library includes a family of specialised thread types built on this foundation, such as looping threads, periodic background workers, bounded worker pools, FIFO and bag-based parallel processors, and delegate-driven wait handles. These abstractions are intentionally explicit: thread creation, execution, cancellation, and joining are always visible and under caller control.
To support coordination and observability, mlThreadMGMT provides a common WaitBase abstraction that unifies synchronous waiting, asynchronous waiting, cancellation, timeouts, and exception handling. An optional ThreadManager can be used to supervise multiple tasks, track their status, prioritise shutdown behaviour, and surface completion or failure events without introducing scheduling side effects.
mlThreadMGMT is intended for systems where clarity, determinism, and long-running stability matter more than convenience or automatic scheduling. Typical use cases include background services, servers, infrastructure tooling, and applications where understanding when, why, and how a thread runs or stops is more important than maximising throughput via opaque concurrency primitives.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. 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. |
| .NET Core | netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.1 is compatible. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.1
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|