Aufgabe 4: Kontextwechsel
KeyboardApplication Class Reference
Keyboard Application. More...
#include <user/app2/kappl.h>
Inheritance diagram for KeyboardApplication:
Collaboration diagram for KeyboardApplication:
Public Member Functions | |
KeyboardApplication () | |
Constructor. | |
void | action () override |
Contains the application code. | |
Public Member Functions inherited from Thread | |
Thread () | |
Constructor Initializes the context using prepareContext with the highest aligned address of the reserved_stack_space array as stack pointer (top of stack). 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... | |
Additional Inherited Members | |
Public Attributes inherited from Thread | |
const size_t | id |
Unique ID of thread. | |
volatile bool | kill_flag |
Marker for a dying thread. | |
Static Public Attributes inherited from Thread | |
static const size_t | STACK_SIZE = 4096 |
Stack size for each thread. | |
Static Protected Member Functions inherited from Thread | |
static void | kickoff (Thread *object) |
Function to start a thread. More... | |
Protected Attributes inherited from Thread | |
StackPointer | stackpointer |
Current stack pointer of thread for context switch. | |
Detailed Description
Keyboard Application.
The documentation for this class was generated from the following files:
- user/app2/kappl.h
- user/app2/kappl.cc