 | WorkerPoolEnsurePoolSize Method |
Tries to ensure the pool contains numThreads for doing work.
Returns the number of threads ensured, which may be lower due to a lower number of processors available
(but won't be higher, even if another caller requested and was granted more threads).
Only to be called while no work is underway.
Namespace:
de.unika.ipd.grGen.lgsp
Assembly:
lgspBackend (in lgspBackend.dll) Version: GrGen.NET 8.0beta
Syntaxpublic static int EnsurePoolSize(
int numThreads
)
Parameters
- numThreads
- Type: SystemInt32
Return Value
Type:
Int32
See Also