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

操作系统与爱情 | 遐想的空中宫殿 #28

Open
skyleaworlder opened this issue Apr 25, 2021 · 2 comments
Open

操作系统与爱情 | 遐想的空中宫殿 #28

skyleaworlder opened this issue Apr 25, 2021 · 2 comments

Comments

@skyleaworlder
Copy link
Owner

https://skyleaworlder.github.io/2021/04/25/OS-Love/

《现代操作系统》非常规读书笔记,算是自己实在学不下去的时候发的一点牢骚。

@trigady
Copy link

trigady commented Apr 25, 2021

与其囫囵吞枣地执行完自己所有的代码,被操作系统草草回收掉。
这互相死锁的暗恋,又何尝不是最后的一点倔强,证明自己还有一丝被唤醒的可能没被这该死的操作系统杀死呢。

@HUGHNew
Copy link

HUGHNew commented May 11, 2021

突然想到一些比较好玩的东西

  • 临界区

锁 锁的是自己

以为消耗资源 拒绝他人持有的 是自己背后的资源

结果最后才知道 锁 锁住的只是自己 也只能是自己

怎么可能自己一点头 lock 就可以把所想之物 都锁住 只能等待自己再点头unlock

不过都是空想

临界区

临界区 是一段代码 而不是一个标记

以为过了那个坎 就能保存状态 却没想到 那就是全部

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants