https://bugs.linaro.org/show_bug.cgi?id=1851

--- Comment #2 from [email protected] ---
Hi,

Thanks for the reply.

I my case I made sure that no thread has any allocated buffers, all buffers
have been freed before calling odp_pool_destroy().
It can't be right to require all threads to call odp_pool_destroy(), can it?
Only the first call will succeed, any other will return -1 - how to know
whether the first call failed or whether this was not the first call...
Shouldn't ODP internally handle this situation and let the user call
odp_pool_destroy() at any time? The user should only need to make sure that no
allocated buffers from the pool are still in use when calling
odp_pool_destroy().

BR,
Carl

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
lng-odp mailing list
[email protected]
https://lists.linaro.org/mailman/listinfo/lng-odp

Reply via email to