Class Application

Class Application

Placement in the overall structure

Module
user
Base classes
Thread
Derived classes
None
Time of creation
First in Task 4
Files
appl.h appl.cc possibly more

Description

The Application class represents the application of the operating system. It is executed in the form of its own thread and accordingly also needs its own stack.

Public methods

Application (void* tos)
The constructor gives the application process a stack. Here tos must already point to the end of the stack, since for the PC stacks grow from the high to the low addresses.
void action ()
This method contains the action of the application.