不管中断何时唤醒这个线程,就使用与实际api和应用程序相同的方法来处理这个中断。
Whenever an interrupt wakes up the thread, process the interrupt the same way the actual API and application process it.
然而在中断处理和进程切换之间有一个关键的区别:由中断或异常处理执行的代码不在进程中。
But there is a key difference between interrupt handling and process switching: the code executed by an interrupt or by an exception handler is not a process.
阐述了外部中断在工控机应用中的特殊地位以及WINDOWS与DOS在这方面的不同,通过一个典型的范例说明了DOS在处理中断中所具有的灵活性和高效性。
The particular position of the external interrupt in the application of computers for industry control and the difference between WINDOWS and DOS on this respect are expounded.
应用推荐