Aufgabe 6: Synchronisation
WakeUp Class Reference
Interrupt handling used for waking sleeping cores. More...
#include <thread/wakeup.h>
Inheritance diagram for WakeUp:
Collaboration diagram for WakeUp:
Public Member Functions | |
void | activate () |
Register interrupt handler. More... | |
bool | prologue () |
Interrupt is meant to only wakeup the core and, thus, signal the availability of new threads in the ready queue. More... | |
Public Member Functions inherited from Gate | |
Gate () | |
Constructor. | |
virtual | ~Gate () |
Destructor. More... | |
virtual bool | prologue ()=0 |
Device-specific interrupt handling routine that is executed immediately after the interrupt occurs (asynchronously). More... | |
virtual void | epilogue () |
Possibly delayed, synchronously executed Device-specific interrupt handling routine. More... | |
Detailed Description
Interrupt handling used for waking sleeping cores.
In MPStuBS, WakeUp IPIs are used to wakeup a sleeping core as soon as a new thread is ready to be scheduled/executed. The prologue for the WakeUp IPI explicitly should NOT request an epilogue.
Only required for MPStuBS.
Member Function Documentation
|
inline |
Register interrupt handler.
- Todo:
- Implement Method (MPStuBS)
|
inlinevirtual |
The documentation for this class was generated from the following file:
- thread/wakeup.h