NuGet Package ThreadTaskManager

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.

Info

Version: 1.0
Author(s): Michael Horsch
Last Update: Wednesday, September 7, 2011
.NET Fiddle: Create the first Fiddle
NuGet Url: https://www.nuget.org/packages/ThreadTaskManager


Install
Install-Package ThreadTaskManager
dotnet add package ThreadTaskManager
paket add ThreadTaskManager
ThreadTaskManager Download (Unzip the "nupkg" after downloading)



Tags



STATS

must-have-score

avg-downloads-per-day

0

days-since-last-release

3574