Test application.
More...
#include <user/app1/appl.h>
|
| Application () |
| Constructor.
|
|
void | action () override |
| Contains the application code. More...
|
|
| Thread () |
| Constructor Initializes the context using prepareContext with the highest aligned address of the reserved_stack_space array as stack pointer (top of stack).
|
|
void | go () |
| Activates the first thread on this CPU. More...
|
|
void | resume (Thread *next) |
| Switches from the currently running thread to the next one. More...
|
|
Test application.
Usually it is sufficient to increment and output a number endlessly in a loop.
- Note
- Any class derived from Thread defines an application for StuBS.
◆ action()
void Application::action |
( |
| ) |
|
|
overridevirtual |
Contains the application code.
Implements Thread.
The documentation for this class was generated from the following files:
- user/app1/appl.h
- user/app1/appl.cc