Back to FabImage Library website

You are here: Start » Function Reference » Configuration » ControlParallelComputing

ControlParallelComputing


Header:FIL.h
Namespace:fil

Enables or disables filters multithreading parallelization.

Syntax

C++
C#
 
void fil::ControlParallelComputing
(
	bool inIsEnabled,
	ftl::Optional<int> inThreadCount,
	int& outThreadCount
)

Parameters

Name Type Default Description
inIsEnabled bool True When 'true' parallel computing is used
inThreadCount Optional<int> NIL Requested number of threads
outThreadCount int& Actually available number of threads