Table of Contents

Class TimeThreadPool

Namespace
SunamoThreading
Assembly
SunamoThreading.dll

Runs threads on a timed interval, starting a new thread each time the timer elapses.

public class TimeThreadPool
Inheritance
TimeThreadPool
Inherited Members
Extension Methods

Constructors

TimeThreadPool(ParameterizedThreadStart, int, string[])

Initializes a new instance of the TimeThreadPool class. Third parameter cannot be params.

public TimeThreadPool(ParameterizedThreadStart threadStart, int maxConcurrentThreads, string[] arguments)

Parameters

threadStart ParameterizedThreadStart

The method each thread will execute.

maxConcurrentThreads int

The maximum number of threads allowed to run at the same time.

arguments string[]

The arguments to pass to each thread, one per thread.

Methods

StopAll()

Stops all running threads and disposes the timer.

public void StopAll()