StuBS
|
Interrupt handling used for waking sleeping cores. More...
#include <wakeup.h>
Public Member Functions | |
void | activate () |
Register interrupt handler. | |
bool | prologue () |
Interrupt is meant to only wakeup the core and, thus, signal the availability of new threads in the ready queue. | |
Public Member Functions inherited from Gate | |
Gate () | |
Constructor. | |
virtual | ~Gate () |
Destructor. | |
virtual bool | prologue ()=0 |
Device-specific interrupt handling routine that is executed immediately after the interrupt occurs (asynchronously). | |
virtual void | epilogue () |
Possibly delayed, synchronously executed Device-specific interrupt handling routine. | |
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.
|
inline |
Register interrupt handler.