Fire and software interrupt
Source position: exec.pas line 1208
procedure Cause( |
interrupt_: pInterrupt |
); |
interrupt_ |
|
Pointer to a initialized interrupt node |
This function causes a software interrupt to occur. If it is called from user mode (and processor level 0), the software interrupt will preempt the current task. This call is often used by high-level hardware interrupts to defer medium-length processing down to a lower interrupt level. Note that a software interrupt is still a real interrupt, and must obey the same restrictions on what system function it may call.
NOTE
When setting up the PInterrupt structure, set the node type to NT_INTERRUPT, or NT_UNKOWN.