CommsThreadPool Constructor NetworkComms.Net Help
Create a new NetworkComms.Net thread pool

Namespace: NetworkCommsDotNet.Tools
Assembly: NetworkCommsDotNet (in NetworkCommsDotNet.dll) Version: 3.0.0.0 (3.0.0.0)
Syntax

public CommsThreadPool(
	int minThreadsCount,
	int maxActiveThreadsCount,
	int maxTotalThreadsCount,
	TimeSpan threadIdleTimeoutClose
)

Parameters

minThreadsCount
Type: OnlineSystem Int32
Minimum number of idle threads to maintain in the pool
maxActiveThreadsCount
Type: OnlineSystem Int32
The maximum number of active (i.e. not waiting for IO) threads
maxTotalThreadsCount
Type: OnlineSystem Int32
Maximum number of threads to create in the pool
threadIdleTimeoutClose
Type: OnlineSystem TimeSpan
Timespan after which an idle thread will close
See Also