1

update keyboarddemo to threads

This commit is contained in:
2022-07-11 18:42:14 +02:00
parent 304eadc959
commit 8d7bdea519
2 changed files with 16 additions and 3 deletions

29
c_os/user/demo/KeyboardDemo.h Executable file
View File

@ -0,0 +1,29 @@
/*****************************************************************************
* *
* K E Y B O A R D D E M O *
* *
*---------------------------------------------------------------------------*
* Beschreibung: Testausgaben für den CGA-Treiber. *
* *
* Autor: Michael Schoettner, HHU, 26.10.2018 *
*****************************************************************************/
#ifndef __KeyboardDemo_include__
#define __KeyboardDemo_include__
#include "kernel/Globals.h"
#include "kernel/threads/Thread.h"
class KeyboardDemo : public Thread {
private:
KeyboardDemo(const KeyboardDemo& copy) = delete;
public:
KeyboardDemo() {
kout << "Initialized KeyboardDemo" << endl;
}
void run() override;
};
#endif