Home |
RTKernel-32 Programming Manual Function RTInstallSharedIRQHandlerEx Function RTInstallSharedIRQHandler Function RTRemoveSharedIRQHandlerEx Function RTRemoveSharedIRQHandler Function RTKRestoreIRQHandlerFar Function RTKDisableInterrupts |
Function RTKDisableInterruptsThis function disables interrupts at the CPU level: void RTKDisableInterrupts(void); Using RTKDisableInterrupts, a task can make sure that it is not disrupted by interrupts. Unlike preemptive task switches, cooperative task switches can take place even while interrupts are disabled. The interrupt-enable state is maintained per task. Thus, a task switch can reenable or disable interrupts. On multiprocessor systems, this function does not prevent interrupts from being processed on other CPUs.
|