Replace "AAL" type with "Aal" to parallel "Pal"
This commit is contained in:
@@ -13,7 +13,7 @@ namespace snmalloc
|
||||
FlagLock(std::atomic_flag& lock) : lock(lock)
|
||||
{
|
||||
while (lock.test_and_set(std::memory_order_acquire))
|
||||
AAL::pause();
|
||||
Aal::pause();
|
||||
}
|
||||
|
||||
~FlagLock()
|
||||
|
||||
@@ -70,7 +70,7 @@ namespace snmalloc
|
||||
if (next != nullptr)
|
||||
{
|
||||
front = next;
|
||||
AAL::prefetch(&(next->next));
|
||||
Aal::prefetch(&(next->next));
|
||||
assert(front);
|
||||
std::atomic_thread_fence(std::memory_order_acquire);
|
||||
invariant();
|
||||
|
||||
Reference in New Issue
Block a user