Introduce thread types: worker and control. Implementations may be HW limited how many worker threads can be supported. Number of control threads may be only SW limited.
Note: This series depends on "example: classifier: remove extra local init" patch. v2: * Rebased * Clean up doxygen documentation in init.h * Changed odp_init_global params to const pointer types Petri Savolainen (4): style: init api: documentation clean up api: init: use const pointer types api: thread: added thread type api: init: added thread type to local init example/classifier/odp_classifier.c | 2 +- example/generator/odp_generator.c | 2 +- example/ipsec/odp_ipsec.c | 2 +- example/packet/odp_pktio.c | 2 +- example/timer/odp_timer_test.c | 2 +- helper/linux.c | 4 +- include/odp/api/init.h | 98 ++++++++++++++++--------------- include/odp/api/thread.h | 38 ++++++++++++ platform/linux-generic/odp_init.c | 6 +- test/performance/odp_l2fwd.c | 2 +- test/performance/odp_pktio_perf.c | 2 +- test/performance/odp_scheduling.c | 2 +- test/validation/common/odp_cunit_common.c | 2 +- 13 files changed, 104 insertions(+), 60 deletions(-) -- 2.4.0 _______________________________________________ lng-odp mailing list lng-odp@lists.linaro.org https://lists.linaro.org/mailman/listinfo/lng-odp