StuBS
WakeUp Class Reference

Interrupt handling used for waking sleeping cores. More...

#include <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.
 
- 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.
 

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

◆ activate()

void WakeUp::activate ( )
inline

Register interrupt handler.


The documentation for this class was generated from the following file: