1

copy arraylistdemo for linked list

This commit is contained in:
2022-07-17 16:03:40 +02:00
parent a2b2a311d8
commit 820fff35b5
2 changed files with 112 additions and 0 deletions

View File

@ -0,0 +1,22 @@
#ifndef __LinkedListDemo_include__
#define __LinkedListDemo_include__
#include "kernel/Globals.h"
#include "kernel/threads/Thread.h"
#include "user/lib/LinkedList.h"
class LinkedListDemo : public Thread {
private:
LinkedListDemo(const LinkedListDemo& copy) = delete;
LinkedList<int> list;
public:
LinkedListDemo() {
kout << "Initialized LinkedListDemo" << endl;
}
void run() override;
};
#endif