《Operating System Concepts》阅读笔记:p180-p187
《Operating System Concepts》学习第 20 天,p180-p187 总结,总计 8 页。
一、技术总结
1.forke-join
A strategy for thread creation in which the main parent thread creates (forks) one or more child threads and then waits for the children to terminate and join with it.
二、英语总结(生词:3)
1.fork
(1)fork: furca(“two-pronged fork(两刺叉), pitchfork(干草叉)”)
c. a tool with prongs(尖齿),即我们常说的“(吃饭用的,或者干活用的)叉子”。引申出“a point of divergence(such as road) evolved from its physical shape”之意。
(2)示例
Fork-in is a strategy for thread creation in which the main parent thread creates (forks) one or more child threads and then waits for the children to terminate and join with it(《Operating System Concepts》第 177 页)。
关于英语的注解同步更新汇总到 https://github.com/codists/English-In-CS-Books 仓库。
三、其它
以前一直不理解 fork 想表达的意思,总是觉得为什么不直接用 create 呢?直到看了这本书,查了 fork 的意思——叉子,结合图示,才真正的理解了 fork 的含义(branch off from the main thread,暗含“从主干分叉出来”之意)。
四、参考资料
1. 编程
(1) Abraham Silberschatz,Peter Baer Galvin,Greg Gagne《Operating System Concepts》:https://book.douban.com/subject/30272539/
2. 英语
(1) Etymology Dictionary:https://www.etymonline.com
(2) Cambridge Dictionary:https://dictionary.cambridge.org
欢迎搜索及关注:编程人(a_codists)