CvInvokeSetNumThreads Method |
http://www.emgu.com
Sets the number of threads that are used by parallelized OpenCV functions.
Namespace: Emgu.CVAssembly: Emgu.CV.World (in Emgu.CV.World.dll) Version: 3.2.0.2682 (3.2.0.2682)
Syntaxpublic static void SetNumThreads(
int threadsCount
)
Public Shared Sub SetNumThreads (
threadsCount As Integer
)
public:
static void SetNumThreads(
int threadsCount
)
static member SetNumThreads :
threadsCount : int -> unit
Parameters
- threadsCount
- Type: SystemInt32
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