Skip to content
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

rCore-Tutorial-Book-v3/chapter8/4condition-variable #158

Open
utterances-bot opened this issue Dec 12, 2022 · 1 comment
Open

rCore-Tutorial-Book-v3/chapter8/4condition-variable #158

utterances-bot opened this issue Dec 12, 2022 · 1 comment
Labels
comments An area where readers can discuss related topics after every article.

Comments

@utterances-bot
Copy link

条件变量机制 - rCore-Tutorial-Book-v3 3.6.0-alpha.1 文档

https://rcore-os.cn/rCore-Tutorial-Book-v3/chapter8/4condition-variable.html

Copy link

当线程first执行是,会由于没有mutex的锁而进入等待锁的睡眠状态

是->时

发现某个条件不满足,那就在无法继续运行而被阻塞。

那就无法

操作系统需要把进入管程的过程入口出的互斥锁给释放掉

过程入口处

@wyfcyx wyfcyx added the comments An area where readers can discuss related topics after every article. label Jun 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
comments An area where readers can discuss related topics after every article.
Projects
None yet
Development

No branches or pull requests

3 participants