getNumThreads function

int getNumThreads()

Get the number of threads for OpenCV.

Implementation

int getNumThreads() {
  return cvRunArena<int>((arena) {
    final p = arena<ffi.Int>();
    cvRun(() => ccore.GetNumThreads(p));
    return p.value;
  });
}