commit | 9eda39002ea8303855150075b8e1c5495c0aaf38 | [log] [tgz] |
---|---|---|
author | Chih-Hung Hsieh <chh@google.com> | Mon Dec 08 16:03:50 2014 -0800 |
committer | Chih-Hung Hsieh <chh@google.com> | Tue Dec 09 15:24:18 2014 -0800 |
tree | 02a7b1721d29411e4cd0c2511ef288012028e59e | |
parent | 1b55a4c89f7f48dd77e647ebe6b01d2008bfcb73 [diff] |
Use C11 atomic functions when necessary. Clang arm64 and mips compilers do not have all gcc predefined macros and intrinsic functions. When builtin gcc atomic functions are not available, use C11 standard functions. BUG: 17046358 Change-Id: I98619647b230d725c81a73dcd3207d429b943e71