Export thread controlling functions to the automatic generated wrappers (Bug #4064)


Added by Matti Picus about 10 years ago. Updated almost 10 years ago.


Status:Done Start date:2014-12-14
Priority:Normal Due date:
Assignee:- % Done:

0%

Category:-
Target version:-
Affected version:branch '2.4' (2.4-dev) Operating System:Any
Difficulty: HW Platform:Any
Pull request:

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

Revision 80eec9d5
Added by Vadim Pisarevsky over 9 years ago

Merge pull request #4064 from MSOpenTech:test-contrib

History

Updated by Vadim Pisarevsky almost 10 years ago

  • Status changed from New to Done

Also available in: Atom PDF