You are here: Start » AVL.NET » Invoke.ControlParallelComputing

Invoke.ControlParallelComputing

Enables or disables filters multithreading parallelization.

Namespace:Avl
Assembly:AvlNet.dll

Syntax

C++
C#
 
public static void ControlParallelComputing
(
	bool inIsEnabled,
	Optional<int> inThreadCount,
	Optional<int> inBlockTime,
	out int outThreadCount
)

Parameters

Name Type Range Default Description
inIsEnabledboolTrueWhen 'true' parallel computing is used. Default value: True.
inThreadCountAtl.Optional<int><1, 128>Requested number of threads. Default value: atl::NIL.
inBlockTimeAtl.Optional<int>Sets the number of milliseconds that a thread should wait, after completing the execution of a parallel region, before sleeping. Default value: atl::NIL.
outThreadCountintActually available number of threads.

See also