fake fake is missing

This commit is contained in:
Simon
2025-06-16 23:55:59 +02:00
parent f90eaa3fcd
commit 24a0888760
4 changed files with 9 additions and 7 deletions

View File

@@ -5,7 +5,9 @@
// Alias to simplify stuff
typedef void (*kickoff_t)(void*);
void Thread::kickoff(Thread* object) { (void)object; }
void Thread::kickoff(Thread* object) {
Guard::leave();
object->action(); }
Thread::Thread(void* tos) { (void)tos; }

View File

@@ -16,12 +16,12 @@
#include "../arch/context.h"
#include "../object/queue.h"
#include "../types.h"
#include "../interrupt/guard.h"
/*! \brief The Thread is an object used by the scheduler.
* \ingroup thread
*/
class Thread {
protected:
public:
/*! \brief The thread's entry point.
*
* For the first activation of a thread, we need a "return address"