Keyboard Application.
More...
#include <kappl.h>
|
| KeyboardApplication (void *tos, unsigned int id) |
| Constructor.
|
|
void | action () override |
| Contains the application code.
|
|
| Thread (void *tos) |
| Constructor Initializes the context using prepareContext with the given stack space.
|
|
void | go () |
| Activates the first thread on this CPU.
|
|
void | resume (Thread *next) |
| Switches from the currently running thread to the next one.
|
|
virtual void | action ()=0 |
| Method that contains the thread's program code.
|
|
Waitingroom * | getWaitingroom () const |
| Returns the Waitingroom in which the thread is currently waiting.
|
|
void | setWaitingroom (Waitingroom *w) |
| Marks the thread as waiting for an event in Waitingroom w .
|
|
|
volatile bool | kill_flag |
| Marker for a dying thread.
|
|
static void | kickoff (Thread *object) |
| Function to start a thread.
|
|
Context | context |
| Context of the thread, used for saving and restoring the register values when context switching.
|
|
◆ action()
void KeyboardApplication::action |
( |
| ) |
|
|
overridevirtual |
Contains the application code.
Implements Thread.
The documentation for this class was generated from the following files:
- user/app2/kappl.h
- user/app2/kappl.cc