#include <user/graphics/pc.h>
|
| PC (const char *image="pc.png") |
|
void | boot () |
| Print the PC.
|
|
void | action () |
| Method that contains the thread's program code.
|
|
| Thread () |
| Constructor Initializes the context using prepareContext with the highest aligned address of the reserved_stack_space array as stack pointer (top of stack). Furthermore, assign each thread a unique id using a global variable idCounter. You have to declare and initialize it properly.
|
|
void | go () |
| Activates the first thread on this CPU.
|
|
void | resume (Thread *next) |
| Switches from the currently running thread to the next one.
|
|
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 .
|
|
◆ PC()
PC::PC |
( |
const char * |
image = "pc.png" | ) |
|
|
explicit |
◆ boot()
◆ action()
Method that contains the thread's program code.
Derived classes are meant to override this method to provide meaningful code to be run in this thread.
Implements Thread.
◆ image
◆ gout
The documentation for this class was generated from the following files: