Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

📔【操作系统】锁的实现 🆕 #50

Closed
imageslr opened this issue Sep 26, 2020 · 2 comments
Closed

📔【操作系统】锁的实现 🆕 #50

imageslr opened this issue Sep 26, 2020 · 2 comments

Comments

@imageslr
Copy link
Owner

https://imageslr.github.io/2020/locks.html

互斥锁的实现 1. 禁止中断 进入临界区前禁止中断,离开之前恢复中断。这样任何中断都不会发生,包括时钟中断,也就是说 CPU 不会被切换到其他线程。

@Vector6662
Copy link

博主第二个应该是TSL吧?笔误

@imageslr
Copy link
Owner Author

@Vector6662 谢谢,已改正。

Repository owner locked and limited conversation to collaborators Dec 18, 2022
@imageslr imageslr converted this issue into discussion #89 Dec 18, 2022

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Projects
None yet
Development

No branches or pull requests

2 participants