I can't say whether this fixes Bug 2457, but this certainly seems like a
bug worth correcting to me. Would like Petri's opinion on this. But in the
meantime...

On Mon, Aug 8, 2016 at 3:40 AM, Maxim Uvarov <maxim.uva...@linaro.org>
wrote:

> We should not try to redifine current odp thread id on
> termination as well as set poll queues to invalid values,
> which has to be cleared later in schedule_term_global().
>
> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org>
>

Reviewed-and-tested-by: Bill Fischofer <bill.fischo...@linaro.org>


> ---
>  platform/linux-generic/odp_schedule.c | 2 --
>  1 file changed, 2 deletions(-)
>
> diff --git a/platform/linux-generic/odp_schedule.c
> b/platform/linux-generic/odp_schedule.c
> index 8765f48..8405423 100644
> --- a/platform/linux-generic/odp_schedule.c
> +++ b/platform/linux-generic/odp_schedule.c
> @@ -328,8 +328,6 @@ static int schedule_term_local(void)
>         }
>
>         schedule_release_context();
> -
> -       sched_local_init();
>         return 0;
>  }
>
> --
> 2.7.1.250.gff4ea60
>
>

Reply via email to