feat(heap): Create new HeapAllocator implementation
This commit is contained in:
1 parent
2b6c2fa827
commit
ff347b1da5
8 files changed
+125
-36
No files matched your search
@@ -7,7 +7,7 @@
|
||||
#include "Spinlock.hpp"
|
||||
|
||||
namespace kcp {
|
||||
void Spinlock::Aquire() {
|
||||
void Spinlock::Acquire() {
|
||||
while (atomic_flag.test_and_set(std::memory_order_acquire));
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user