Replace "AAL" type with "Aal" to parallel "Pal"

This commit is contained in:
Nathaniel Filardo
2019-12-04 16:36:55 +00:00
parent 4d6759aca4
commit ef40f1cf1d
6 changed files with 9 additions and 9 deletions

View File

@@ -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()

View File

@@ -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();