| ThreadPool Constructor |
Creates a new ThreadPool of numThreads size. These Threads are waiting
for jobs to be added via the addJob method.
Namespace: AsterNET.UtilAssembly: AsterNET (in AsterNET.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public ThreadPool(
string name,
int numThreads
)
Public Sub New (
name As String,
numThreads As Integer
)
public:
ThreadPool(
String^ name,
int numThreads
)
new :
name : string *
numThreads : int -> ThreadPool
Parameters
- name
- Type: SystemString
the name to use for the thread group and worker threads. - numThreads
- Type: SystemInt32
the number of threads to create.
See Also