StuBS
Todo List
Class Application
Application should inherit from Thread
Member Application::action () override
Implement Method
Member Application::Application ()
Implement Constructor
Member context_go (StackPointer &next)
Implement Method
Member context_switch (StackPointer &current, StackPointer &next)
Implement Method
Member Dispatcher::active ()
Implement Method
Member Dispatcher::dispatch (Thread *next)
Implement Method
Member Dispatcher::go (Thread *first)
Implement Method
Class Gate
Implement class inheritance. Each Gate instance should be queueable by inheritting from Queue::Node. Keep in mind that you have to specify both template arguments. The first one is the type to be queued, and the second is the maximum amount of cores.
Member Gate::queued
Add member
Member prepareContext (void *tos, void(*kickoff)(void *), void *param1=nullptr)
Implement Function (and helper functions, if required)
Member Scheduler::exit ()
Implement Method
Member Scheduler::kill (Thread *that)
Implement Method
Member Scheduler::ready (Thread *that)
Implement Method
Member Scheduler::resume ()
Implement Method
Member Scheduler::schedule ()
Implement Method
Member SerialStream::print (char *str, int length)
Implement Method
Member Thread::go ()
Implement Method
Member Thread::kickoff (Thread *object)
Implement Method
Member Thread::resume (Thread *next)

Implement Method

Member Thread::Thread ()
Implement constructor