This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "".
The branch, master has been updated via 29dde30264da8106d64328b0d81eb19dad0065ac (commit) from 92ae191876c39a3f5d4fba63e58dd9e8c444239b (commit)
Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below.
- Log ----------------------------------------------------------------- commit 29dde30264da8106d64328b0d81eb19dad0065ac Author: Stanislaw Kardach kda@semihalf.com Date: Wed Dec 28 16:12:52 2016 +0100
helper: do not break odp_term_global protocol
As per API documentation, odp_term_global() should be a final ODP call when terminating the ODP application in a controlled way. Therefore ODP threads or sub-processes created using ODP helper API should not call this function but leave it to the main application thread/process.
Signed-off-by: Stanislaw Kardach kda@semihalf.com Reviewed-by: Christophe Milard christophe.milard@linaro.org Signed-off-by: Maxim Uvarov maxim.uvarov@linaro.org
diff --git a/helper/linux.c b/helper/linux.c index 7bd0b07..1f009cd 100644 --- a/helper/linux.c +++ b/helper/linux.c @@ -42,8 +42,6 @@ static void *odp_run_start_routine(void *arg)
if (ret < 0) ODPH_ERR("Local term failed\n"); - else if (ret == 0 && odp_term_global(thr_params->instance)) - ODPH_ERR("Global term failed\n");
return ret_ptr; } @@ -277,8 +275,6 @@ static void *odpthread_run_start_routine(void *arg)
if (ret < 0) ODPH_ERR("Local term failed\n"); - else if (ret == 0 && odp_term_global(thr_params->instance)) - ODPH_ERR("Global term failed\n");
/* for process implementation of odp threads, just return status... */ if (start_args->linuxtype == ODPTHREAD_PROCESS)
-----------------------------------------------------------------------
Summary of changes: helper/linux.c | 4 ---- 1 file changed, 4 deletions(-)
hooks/post-receive