Displaying 1 result from an estimated 1 matches for "__c11_atomic".
Did you mean:
__c11_atomic_
2019 Dec 29
2
__c11_atomic builtins' input requirements
I have started working on an implementation of atomic_ref. Implementing
this requires performing atomic operations on arbitrary references. The
behavior is undefined if a reference is provided that is not aligned per
the public export required_alignment. What assumptions do the __c11_atomic
builtins make about destination argument alignment, format, size etc.? Is
it required that the destination argument be annotated as _Atomic like the
corresponding standard c11 functions require?
The following code in libcxx/include/config implies that the c11 atomic
builtins should be substituted...