commit | ae7762e47d51b4f7633e39461a5459e60570cf11 | [log] [tgz] |
---|---|---|
author | Louis Dionne <ldionne@apple.com> | Wed Apr 22 10:23:38 2020 -0400 |
committer | Copybara-Service <copybara-worker@google.com> | Fri Aug 28 01:07:36 2020 -0700 |
tree | 35019d1f03920775643470cca42e1ab840c749f0 | |
parent | a038580de3bec997b9163690ce1d3420951aa2ce [diff] |
[libc++] Add static_assert to make sure rate limiter doesn't use locks We want to be sure that atomic<size_t> is always lock-free, or the code will be much slower than expected (and could even conceivably fail if the lock implementation somehow calls back into libc++abi). GitOrigin-RevId: 16779f8084541b626578a4bda2f51ee741dcd7bf