1

remove old thread code (state, inc...)

This commit is contained in:
2022-07-23 13:14:42 +02:00
parent dc79b6595c
commit 840c775ff9
4 changed files with 2 additions and 81 deletions

View File

@ -28,7 +28,6 @@
#ifndef __Thread_include__
#define __Thread_include__
#include "kernel/threads/ThreadState.h"
#include "user/lib/Logger.h"
class Thread {
@ -55,10 +54,10 @@ public:
}
// Thread aktivieren
void start();
void start() const;
// Umschalten auf Thread 'next'
void switchTo(Thread& next);
void switchTo(Thread& next) const;
// Ask thread to terminate itself
void suicide() { running = false; }