feat(kcp, pfa): Add kcp::Spinlock class
This commit is contained in:
+3
-2
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user