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.

[参考译文] RTOS:SEM_post 和 SEM_pend 在中断中执行顺序问题

Guru**** 2609285 points


请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/686226/rtos-sem_post-and-sem_pend-perform-order-problem-in-interrupt

工具/软件:TI-RTOS

尊敬的所有人:

在调试 DSP/BIOS 操作系统时发现问题。 在中断中执行 SEM_post 将执行 SEM_pend 后面的代码(在任务中调用)、然后在中断中执行其他代码。 我知道系统应该 首先执行中断、然后 在 SEM_pend 函数之后执行代码。

非常感谢!

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    您好!

    中断是如何创建的? 您能在 Tools->ROV->Hwi->Instances (暂停设备后)中查看吗? 相关中断是否显示零延迟?

    Todd
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    我已经解决了这个问题,感谢你的答复。