rt-thread
rt-thread copied to clipboard
[Bug] mutex相关问题
RT-Thread Version
master
Hardware Type/Architectures
all
Develop Toolchain
Other
Describe the bug
- 线程退出时若持有递归获取的锁不能完全释放
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