http://www.emgu.com
Sets the number of threads that are used by parallelized OpenCV functions.

Namespace: Emgu.CV
Assembly: Emgu.CV (in Emgu.CV.dll) Version: 2.4.0.1717 (2.4.0.1717)

Syntax

C#
public static void cvSetNumThreads(
	int threadsCount
)
Visual Basic
Public Shared Sub cvSetNumThreads ( _
	threadsCount As Integer _
)
Visual C++
public:
static void cvSetNumThreads(
	int threadsCount
)

Parameters

threadsCount
Type: System..::..Int32
The number of threads that are used by parallelized OpenCV functions. When the argument is zero or negative, and at the beginning of the program, the number of threads is set to the number of processors in the system, as returned by the function omp_get_num_procs() from OpenMP runtime.

See Also