DescriptionSkAtomics: add asserts for valid memory orders.
Taken from http://en.cppreference.com/w/cpp/atomic/atomic and https://gcc.gnu.org/onlinedocs/gcc/_005f_005fatomic-Builtins.html, which agree.
No public API changes.
TBR=reed@google.com
BUG=skia:
Committed: https://skia.googlesource.com/skia/+/01f797fcb0c7497d3d62af84516f489c83cd1634
Patch Set 1 #Patch Set 2 : std too #Patch Set 3 : names #
Messages
Total messages: 6 (2 generated)
|