Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bug] rt_interrupt_enter() 的添加导致的异常 #19

Open
wdfk-prog opened this issue Oct 17, 2024 · 0 comments
Open

[bug] rt_interrupt_enter() 的添加导致的异常 #19

wdfk-prog opened this issue Oct 17, 2024 · 0 comments

Comments

@wdfk-prog
Copy link
Contributor

  1. 触发断言时,执行了rt_interrupt_enter();
  • 但是线程还可以正常切换;导致其他线程运行时,判断当前为中断环境,继续断言;导致断言输出异常
  1. 执行了rt_interrupt_enter()时, ULOG存在无法输出的情况,因为此处不等于0
    image

临时解决方案是:cmb_prinln 不实用ulog;删除rt_interrupt_enter使用

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant