fix stack usage and readylist

This commit is contained in:
Eggert Jung
2025-06-23 14:55:08 +02:00
parent 94249eda37
commit da34f7cada
3 changed files with 14 additions and 5 deletions

View File

@@ -9,6 +9,10 @@
#include "../../interrupt/guard.h"
#include "../../debug/output.h"
#include "../../arch/context.h"
#include "../../thread/scheduler.h"
extern Scheduler sch;
char text[] = "Ich mag\n\
Saftige Pflaumen voller Aroma\n\
Ich knuddel jede Oma ins Koma\n\
@@ -49,8 +53,11 @@ void Application::action() { // NOLINT
//Guard::leave();
//koutlock.unlock();
}
Core::pause();
activeWaitDelay(10000000);
//Core::pause();
//activeWaitDelay(10000000);
sch.resume(true);
if(cnt >= sizeof(text)-1)
cnt=0;
//context_switch(test2,test1);