mirror of
https://github.com/gperftools/gperftools
synced 2025-02-26 09:00:28 +00:00
unbreak unnecessary dependency on 64-bit atomics
This unbreaks builds on 32-bit arms and mipsen.
This commit is contained in:
parent
523b72f754
commit
e4e7ba93a0
@ -39,8 +39,8 @@ DEFINE_bool(test_profiler_enabled, true,
|
||||
// unregister callbacks without deadlocking. Thus this
|
||||
// "infrastructure" below.
|
||||
namespace {
|
||||
std::atomic<uint64_t> allocate_count;
|
||||
std::atomic<uint64_t> free_count;
|
||||
std::atomic<intptr_t> allocate_count;
|
||||
std::atomic<intptr_t> free_count;
|
||||
// We also "frob" this lock down in BusyThread.
|
||||
Mutex allocate_lock;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user