This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

求大神解答中断执行问题,比如P2.1进入中断,还在中断程序里的执行过程中时,P2.2又来中断了,P2.2的中断会丢吗



比如这样P2中断执行顺序是如下这样的,是先执行2.2后执行2.1,

if P2.2

if P2.1

{执行中}

但是实际是2.1先来的,在P2.1中断程序还在执行中时,2.2来了,那么等2.1结束后还能再进入2.2吗,会不会丢失呢?