Click or drag to resize

ThreadPoolFetchWorkerAndExecuteWork Method

Tries to fetch a worker, if this fails (because the thread pool is depleted) -1 is returned. Otherwise, a worker starts executing the given task, and its internal thread id is returned.

Namespace: de.unika.ipd.grGen.lgsp
Assembly: lgspBackend (in lgspBackend.dll) Version: GrGen.NET 7.1
Syntax
C#
public static int FetchWorkerAndExecuteWork(
	ParameterizedThreadStart task,
	Object argument
)

Parameters

task  ParameterizedThreadStart
 
argument  Object
 

Return Value

Int32
See Also