Merge pull request #19985 from fpetrogalli:disable_threads
* [build][option] Introduce `OPENCV_DISABLE_THREAD_SUPPORT` option. The option forces the library to build without thread support. * update handling of OPENCV_DISABLE_THREAD_SUPPORT - reduce amount of #if conditions * [to squash] cmake: apply mode vars in toolchains too Co-authored-by: Alexander Alekhin <alexander.a.alekhin@gmail.com>
This commit is contained in:
committed by
GitHub
parent
59ae0e0013
commit
b928ebdd53
@@ -37,8 +37,8 @@ private:
|
||||
// also, extensible functions (accepting user-provided callback) are not allowed
|
||||
// to call LogTagManger (to prevent iterator invalidation), which needs enforced
|
||||
// with a non-recursive mutex.
|
||||
using MutexType = std::mutex;
|
||||
using LockType = std::lock_guard<MutexType>;
|
||||
using MutexType = cv::Mutex;
|
||||
using LockType = cv::AutoLock;
|
||||
|
||||
enum class MatchingScope
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user