Skip to content

[Bug] [CAN]tx发送函数中存在使用完成量进行永久阻塞情况,可能导致线程不会唤醒 #10550

@wdfk-prog

Description

@wdfk-prog

RT-Thread Version

所有

Hardware Type/Architectures

所有

Develop Toolchain

Other

Describe the bug

  • https://club.rt-thread.org/ask/question/2f068b4e57f51068.html
  • 目前在dev_can.c的tx发送函数中存在使用完成量进行永久阻塞情况.如果底层can驱动没有做好相应的适配,会导致完成量不被释放,导致该发送函数所处线程被挂起.
  • 进而导致异常,且不好排查

Other additional context

No response

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