On 09/04/17 18:09, Andriy Berestovskyy wrote:
> Hey guys,
> There are few __asm__ volatile("" ::: "memory") in the generic ODP code,
> but seems like there is no API for the compiler barrier.
> 
> Shall we add one to the api/sync.h?
> 
> Andriy

Hello Andriy,

Do you have use case for that?

In my understanding odp api is already barrier safe i.e. application
does not need additional barriers. And in abi compatibility mode we
export all functions, - it will be significant slow down.

Best regards,
Maxim.

Reply via email to