Export thread controlling functions to the automatic generated wrappers (Bug #4064)
Description
Since the default OpenCV distribution comes precompiled with threading support enabled, it is important to have the ability to limit / disable the option in run time. Currently the relevant functions are available in C++ only, and thus force the user to have it on when being used via C/Python/...
This patch exports the functions setNumThreads, getNumThreads, getThreadNum.
Please make this available both in 2.4.10 and 3.x
Related issues
related to Feature #4456: Expose setNumThreads in Python module | Done | 2015-06-30 |
Associated revisions
Merge pull request #4064 from MSOpenTech:test-contrib
History
Updated by Vadim Pisarevsky almost 10 years ago
- Status changed from New to Done