platform_bionic/libc
Hans Boehm 30214b901e Add memory ordering constraint, convert to C11 atomics
Add an ordering constraint/fence to __system_property_serial.
This slows down a read on a Nexus 5 from about 50 to about 70 ns,
but avoids the possibility of seeing an inconsistent property value.
Use C11 atomic operations where easy and appropriate.
This code remains not fully C++11 memory model conformant, but
I would now expect the generated code to now be correct with current compilers.

Bug:14970171
Change-Id: I0891ff1d0f914ae5c3857e3d76b6a7c8a4a07d83
2014-08-08 11:34:25 -07:00
..
arch-arm Remove misleading arm/arm64 PIC_SYM. 2014-08-07 11:52:38 -07:00
arch-arm64 Remove misleading arm/arm64 PIC_SYM. 2014-08-07 11:52:38 -07:00
arch-common/bionic Fixes for __cxa_finalize 2014-05-05 11:36:57 -07:00
arch-mips Revert "Replaces vfork() implementation with fork()" 2014-08-05 14:11:38 -07:00
arch-mips64 Revert "Replaces vfork() implementation with fork()" 2014-08-05 14:11:38 -07:00
arch-x86 Android is all-PIC/PIE. 2014-08-07 10:54:54 -07:00
arch-x86_64 Android is all-PIC/PIE. 2014-08-07 10:54:54 -07:00
bionic Add memory ordering constraint, convert to C11 atomics 2014-08-08 11:34:25 -07:00
dns Fix all resolv warnings and turn on -Werror. 2014-07-02 16:27:20 -07:00
include Revert "Add a hack to <stdlib.h> until we can fix libvpx." 2014-08-06 13:20:41 -07:00
kernel Add gen syscalls step to instructions. 2014-07-15 19:02:33 -07:00
private Added a bionic systrace class and tracing to pthread_mutex.cpp. 2014-07-28 19:38:08 -07:00
stdio Fix visibility for a bunch more symbols. 2014-07-14 15:13:30 -07:00
tools Merge "Create a distinct temp directory for each run." 2014-08-07 15:46:11 +00:00
tzcode Fix the tzdata update tools. 2014-08-06 17:31:48 -07:00
upstream-dlmalloc Put all allocation functions into dispatch table. 2014-06-12 15:08:18 -07:00
upstream-freebsd Fix visibility for a bunch more symbols. 2014-07-14 15:13:30 -07:00
upstream-netbsd Implement twalk(3), add unit tests. 2014-07-24 14:55:29 -07:00
upstream-openbsd Implement twalk(3), add unit tests. 2014-07-24 14:55:29 -07:00
zoneinfo Upgrade bionic to tzdata2014f. 2014-08-06 17:38:01 -07:00
Android.mk Fixes build. 2014-08-05 14:46:03 -07:00
crt.mk Reconfig libc's Android.mk to build for multilib 2014-02-12 13:58:34 -08:00
MODULE_LICENSE_BSD
NOTICE Implement twalk(3), add unit tests. 2014-07-24 14:55:29 -07:00
SYSCALLS.TXT Revert "Replaces vfork() implementation with fork()" 2014-08-05 14:11:38 -07:00