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
..
2014-08-07 10:54:54 -07:00
2014-08-07 10:54:54 -07:00
2014-08-06 17:31:48 -07:00
2014-08-06 17:38:01 -07:00
2014-08-05 14:46:03 -07:00
2014-07-24 14:55:29 -07:00