Skip to content

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

@wdfk-prog

Description

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

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions