tac0S
Template Affectional Command Operating System
|
The following class defines an interrupt that is scheduled to occur in the future. The internal data structures are left public to make it simpler to manipulate. More...
#include <interrupt.h>
Public Member Functions | |
PendingInterrupt (VoidFunctionPtr func, int param, long long time, IntType kind) | |
PendingInterrupt::PendingInterrupt Initialize a hardware device interrupt that is to be scheduled to occur in the near future. More... | |
Public Attributes | |
VoidFunctionPtr | handler |
int | arg |
long long | when |
IntType | type |
The following class defines an interrupt that is scheduled to occur in the future. The internal data structures are left public to make it simpler to manipulate.
PendingInterrupt::PendingInterrupt | ( | VoidFunctionPtr | func, |
int | param, | ||
long long | time, | ||
IntType | kind | ||
) |
PendingInterrupt::PendingInterrupt Initialize a hardware device interrupt that is to be scheduled to occur in the near future.
func | is the procedure to call when the interrupt occurs |
param | is the argument to pass to the procedure |
time | is when (in simulated time) the interrupt is to occur |
kind | is the hardware device that generated the interrupt |