1

update demos

This commit is contained in:
2022-07-22 02:34:15 +02:00
parent 4327789db6
commit 4bd216b594
8 changed files with 12 additions and 26 deletions

View File

@ -4,7 +4,9 @@
#include "user/lib/mem/UniquePointer.h"
void SmartPointerDemo::run() {
kout.lock();
kout.clear();
kout << "Output is written to log to be able to trace memory allocations/deallocations" << endl;
{
@ -117,5 +119,6 @@ void SmartPointerDemo::run() {
}
log << INFO << "Should be deleted by now..." << endl;
kout.unlock();
scheduler.exit();
}