-
Notifications
You must be signed in to change notification settings - Fork 471
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
ch8 exit实现存在bug #60
Labels
bug
Something isn't working
Comments
Good catch!看起来我忘记在这里将就绪队列中同进程下的其他线程移除掉了。 |
一个提示:可能还需要删除timer中的线程。 |
wyfcyx
added a commit
that referenced
this issue
May 21, 2022
wyfcyx
added a commit
that referenced
this issue
May 21, 2022
目前在ch8上 |
看来对于ch9/main branch还需进一步改进 |
chyyuu
added a commit
to LearningOS/rCore-Tutorial-Code-2023S
that referenced
this issue
Feb 10, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://rcore-os.github.io/rCore-Tutorial-Book-v3/chapter8/1thread-kernel.html 中说
但示例代码显然不能做到终止其他线程的运行,不用运行任何测试就能直接读出来。
当然这也可以用测试来验证。基于commit 9ad3bb4 ,运行如下测试:
可能的输出为:
虽然这段代码不太符合通常的正确代码的模式,但它也不应该让内核crash。
The text was updated successfully, but these errors were encountered: