scheduler + 2 instances of application

This commit is contained in:
Eggert Jung
2025-06-23 20:21:19 +02:00
parent da34f7cada
commit e6d6e7521c
7 changed files with 28 additions and 15 deletions

View File

@@ -22,12 +22,7 @@
* taken from the front of the queue.
*/
class Scheduler {
/*! \brief a Dispatcher object, providing the low level context switching
* routines.
*/
Dispatcher dispatcher;
/*! \brief Helper to retrieve next Thread
/*! \brief Helper to retrieve next Thread
* \return pointer of next thread
*/
Thread* getNext();
@@ -36,6 +31,12 @@ class Scheduler {
public:
Scheduler();
/*! \brief a Dispatcher object, providing the low level context switching
* routines.
*/
Dispatcher dispatcher;
/*! \brief Start scheduling
*
* This method starts the scheduling by removing the first thread from