比如这样P2中断执行顺序是如下这样的,是先执行2.2后执行2.1,
if P2.2
if P2.1
{执行中}
但是实际是2.1先来的,在P2.1中断程序还在执行中时,2.2来了,那么等2.1结束后还能再进入2.2吗,会不会丢失呢?
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中断执行顺序是如下这样的,是先执行2.2后执行2.1,
if P2.2
if P2.1
{执行中}
但是实际是2.1先来的,在P2.1中断程序还在执行中时,2.2来了,那么等2.1结束后还能再进入2.2吗,会不会丢失呢?