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.

关于DSP/BIOS中的sem_post和sem_pend 的在中断中执行顺序问题。



在调试DSP/BIOS操作系统中发现了一个问题,在中断中执行sem_post会先执行sem_pend后面的代码(在一个tsk中调用),然后再执行中断中其他的代码。我理解系统应该先执行完中断再执行sem_pend后的代码。