Exact meaning of return value depends on the threading framework used by OpenCV library: