feat(kcp, pfa): Add kcp::Spinlock class

This commit is contained in:
Daniel Hammer
2025-03-12 19:55:05 +01:00
parent bd8a1fdbca
commit 2b6c2fa827
7 changed files with 57 additions and 5 deletions
+3 -2
View File
@@ -96,12 +96,13 @@ extern "C" void kmain() {
#if defined (__x86_64__)
Hal::IDTInitialize();
#endif
kcp::NoMallocVector<int> hello{};
kcp::noHeapVector<int> hello{};
hello.push_back(10);
hello.push_back(20);
hello.push_back(30);
kout << base::dec << hello.at(0) << hello.at(1) << hello.at(2) << newline;
hcf();
}