OpenCV uses OpenMP to run some time-consuming operations in parallel. Threading can be explicitly controlled by setNumThreads function. Also, functions and “const” methods of the classes are generally re-enterable, that is, they can be called from different threads asynchronously.