[dpdk-dev] [PATCH v2 0/8] use GCC's C11 atomic builtins for test

Tyler Retzlaff roretzla at linux.microsoft.com
Wed Jun 30 21:38:22 CEST 2021


On Wed, Jun 30, 2021 at 07:06:31PM +0000, Honnappa Nagarahalli wrote:
> <snip>
> 
> As I mentioned earlier in this thread, GCC supports 2 types of atomics. "Use GCC atomic builtins" does not help distinguish between them. In "GCC's C11 atomic builtins" - "C11" indicates which atomics we are using, "atomic builtins" indicates that we are NOT using APIs from stdatomic.h

if you need a term to distinguish the two sets of atomics in gcc you can
qualify it with "Memory Model Aware" which is straight from the gcc
manual.


More information about the dev mailing list