HomePhabricator

[libc++] Add static_assert to make sure rate limiter doesn't use locks

Authored by ldionne on Apr 22 2020, 7:23 AM.

Description

[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).

Details

Committed
ldionneJul 22 2020, 11:49 AM
Parents
rGe58660750e76: [libc++] Build the dylib with C++17 to allow aligned new/delete
Branches
Unknown
Tags
Unknown