folly: avoid using atomic operations android can't handle
authorKevin McCray <kmccray@fb.com>
Thu, 24 Mar 2016 19:54:28 +0000 (12:54 -0700)
committerFacebook Github Bot 5 <facebook-github-bot-5-bot@fb.com>
Thu, 24 Mar 2016 20:05:28 +0000 (13:05 -0700)
commit61e0e4d9a98fb6ca10c4f70dc18f52f631eeabbf
treea8505c738bb86e0880c137d1604f5ed0e16de3f9
parent7ea8b939596272f3d3ac33103dfab3429f4c971d
folly: avoid using atomic operations android can't handle

Summary:On Android, clang 3.8 + libstdc++ doesn't support the full
range of atomic operations.  This diff fixes up the ones we
ran into when building fb4a.

Reviewed By: mzlee

Differential Revision: D3092352

fb-gh-sync-id: 7fea8513e23425fc37050ad14d82aabaceb00352
shipit-source-id: 7fea8513e23425fc37050ad14d82aabaceb00352
folly/experimental/TLRefCount.h