-
Notifications
You must be signed in to change notification settings - Fork 5.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] pthread_cancel线程无法退出 #9881
Labels
Comments
什么板子上发现的? |
CanMV-K230 |
你用的什么 bsp 在测试?是 bsp/k230 吗?我怎么听说这个 bsp 在 canMV 上跑不起来的? |
通过qemu调试用户态发现pthread_kill这个函数一直被调用,看c库代码里是没有循环调用的 |
编译c库的时候关闭优化(-O0)pthread_cancel能正常退出,但pthread_join无法退出(被挂起在了pthread->detach_state的futex上) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
RT-Thread Version
c9c103f
Hardware Type/Architectures
risc-v c908
Develop Toolchain
GCC
Describe the bug
调用pthread_cancel线程无法退出,附上测试代码
Other additional context
No response
The text was updated successfully, but these errors were encountered: