Adding a weak definition of ODP_ABORT allows applications spawning threads to intercept those threads calling abort.
In the case of the unit testing this allows the unit test framework to cleanly exit the test, maintain the pass / fail statistics and continue with the next test. Mike Holmes (1): api: odp_debug: make ODP_ABORT a weak symbol platform/linux-generic/include/api/odp_debug.h | 14 ++++++++++++++ platform/linux-generic/include/api/odp_hints.h | 5 +++++ platform/linux-generic/include/odp_debug_internal.h | 4 ++-- platform/linux-generic/odp_weak.c | 5 +++++ 4 files changed, 26 insertions(+), 2 deletions(-) -- 2.1.0 _______________________________________________ lng-odp mailing list [email protected] http://lists.linaro.org/mailman/listinfo/lng-odp
