scheduler + 2 instances of application
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user