#include <user/graphics/fire-example.h>
|
| FireExample () |
|
void | action () override |
| 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 .
|
|
◆ FireExample()
FireExample::FireExample |
( |
| ) |
|
|
inline |
◆ action()
void FireExample::action |
( |
| ) |
|
|
overridevirtual |
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.
◆ fire
◆ title
The documentation for this class was generated from the following files: