rt-thread icon indicating copy to clipboard operation
rt-thread copied to clipboard

[Bug] mutex相关问题

Open zmshahaha opened this issue 1 year ago • 0 comments

RT-Thread Version

master

Hardware Type/Architectures

all

Develop Toolchain

Other

Describe the bug

  1. 线程退出时若持有递归获取的锁不能完全释放

pr: https://github.com/RT-Thread/rt-thread/pull/9337 释放前把mutex获取计数设为1

用例:https://github.com/RT-Thread/rt-thread/pull/9365

2.线程take mutex等待时被意外resume唤醒触发assert

pr:https://github.com/RT-Thread/rt-thread/pull/9357

用例:https://github.com/RT-Thread/rt-thread/pull/9353

Other additional context

No response

zmshahaha avatar Sep 04 '24 04:09 zmshahaha