CvSetNumThreads Method (Int32) OpenCvSharp Class Library
Sets the number of threads.

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

public static void SetNumThreads(
	int threads
)

Parameters

threads
Type: SystemInt32
The number of threads. 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

Reference