Application Class Reference

Test application. More...

#include <appl.h>

Inheritance diagram for Application:
Collaboration diagram for Application:

Public Member Functions

 Application (void *tos, unsigned id)
void action () override
 Contains the application code.
- Public Member Functions inherited from Thread
 Thread (void *tos)
 Constructor Initializes the context using prepareContext with the given stack space. More...
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...
virtual void action ()=0
 Method that contains the thread's program code. More...
WaitingroomgetWaitingroom () const
 Returns the Waitingroom in which the thread is currently waiting. More...
void setWaitingroom (Waitingroom *w)
 Marks the thread as waiting for an event in Waitingroom w. More...

Additional Inherited Members

- Public Attributes inherited from Thread
volatile bool kill_flag
 Marker for a dying thread.
- Static Protected Member Functions inherited from Thread
static void kickoff (Thread *object)
 Function to start a thread. More...
- Protected Attributes inherited from Thread
Context context
 Context of the thread, used for saving and restoring the register values when context switching.

Detailed Description

Test application.

Any class derived from Thread defines an application for StuBS.

The documentation for this class was generated from the following files: