Hey Maxim, are you saying we should be setting this memory to zero
immediately before we free it?  To my knowledge we're not doing
that any where else.

> +
> +     ret = odp_shm_free(odp_shm_lookup("odp_thread_globals"));
> +     if (ret < 0)
> +             ODP_ERR("shm free failed for odp_thread_globals");
> +
memset(thread_globals, 0, sizeof(thread_globals_t));
is missing here.

Maxim.
> +     return ret;
> +}
> +
>   
>   static int thread_id(void)
>   {


_______________________________________________
lng-odp mailing list
[email protected]
http://lists.linaro.org/mailman/listinfo/lng-odp
_______________________________________________
lng-odp mailing list
[email protected]
http://lists.linaro.org/mailman/listinfo/lng-odp

Reply via email to