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

_thread_detach_from_mutex 释放互斥量

Open ananniuniu opened this issue 1 year ago • 0 comments

RT-Thread Version

master

Hardware Type/Architectures

acm32

Develop Toolchain

Other

Describe the bug

_thread_detach_from_mutex 函数中释放互斥量只释放了一次。如果一个互斥量被线程递归调用多次,那么释放一次不会改变该互斥量的拥有者

Other additional context

No response

ananniuniu avatar Jun 24 '24 05:06 ananniuniu