ThreadTaskManager 1.0.0
dotnet add package ThreadTaskManager --version 1.0.0
NuGet\Install-Package ThreadTaskManager -Version 1.0.0
<PackageReference Include="ThreadTaskManager" Version="1.0.0" />
paket add ThreadTaskManager --version 1.0.0
#r "nuget: ThreadTaskManager, 1.0.0"
// Install ThreadTaskManager as a Cake Addin #addin nuget:?package=ThreadTaskManager&version=1.0.0 // Install ThreadTaskManager as a Cake Tool #tool nuget:?package=ThreadTaskManager&version=1.0.0
A framework to easily create threads to run tasks Synchronously or Asynchronously.
To get started write a class that derives from AThreadTask. From there override the PerformTask(object parameter) method. In this method, write the code you would like to have ran in it's own thread. The value you return will be populated in the ReturnValue property of AThreadTask.
Synchronous threading will run all of the tasks in the queue when the Start() method has been called and block the main thread until all of the tasks have completed. Any tasks added after Start() has been called will need to have Start() called again.
Asynchronous threading will run all of the tasks in the queue and not block the main thread when Start() has been called. If you add tasks after Start(), they will be added to the queue and executed when a thread becomes available.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net40 is compatible. net403 was computed. net45 was computed. net451 was computed. net452 was computed. net46 was computed. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
This package has no dependencies.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.0.0 | 786 | 9/7/2011 |