904f6923b895644d86f17e7a545469b92f02511d
The atomic operations exported by the platform's C library do not provide full memory barriers. This can result in incorrect results when NDK machine code linked against them runs on multi-core devices. While the bug has been fixed in the platform, this NDK header change ensures that any source code that includes <sys/atomics.h> will end up using a correct implementation of these functions, based on the corresponding GCC builtins. These builtins always provide a full barrier and have reasonable performance. Application developers who depend on <sys/atomics.h> should recompile their unmodified sources against this version of the NDK as soon as possible. Change-Id: Ife165d09dceffdcd768b69c072d253cac898419c
Description
android_development
Languages
PostScript
31.4%
TypeScript
16.9%
C++
15.5%
Python
11.8%
Java
11.4%
Other
12.7%