From 638aa9b6363159906496d9b9702ea45013a3d646 Mon Sep 17 00:00:00 2001 From: Eggert Jung Date: Mon, 23 Jun 2025 21:30:43 +0200 Subject: [PATCH] 5 applications running on 4 cores (qemu kvm) maybe need to add more apps if hardware has more cores --- main.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/main.cc b/main.cc index 20e4f8b..bc63360 100644 --- a/main.cc +++ b/main.cc @@ -75,11 +75,13 @@ uint8_t test1_stack[1024]; uint8_t test2_stack[1024]; uint8_t test3_stack[1024]; uint8_t test4_stack[1024]; +uint8_t test5_stack[1024]; //Thread test1_thread = Thread(&test1_stack[sizeof(test1_stack)-1]); Application application1 = Application(&test1_stack[sizeof(test1_stack)-1]); Application application2 = Application(&test2_stack[sizeof(test2_stack)-1]); Application application3 = Application(&test3_stack[sizeof(test3_stack)-1]); Application application4 = Application(&test4_stack[sizeof(test4_stack)-1]); +Application application5 = Application(&test5_stack[sizeof(test5_stack)-1]); //Context test2; //uint8_t test2_stack[256]; @@ -124,6 +126,7 @@ extern "C" int main() { sch.ready(&application2); sch.ready(&application3); sch.ready(&application4); + sch.ready(&application5); } ApplicationProcessor::boot();