《Operating System Concepts》阅读笔记:p272-p285

server/2025/3/17 21:50:14/

《Operating System Concepts》学习第 27 天,p272-p285 总结,总计 14 页。

一、技术总结

1.semaphore

A semaphore S is an integer variable that, apart from initialization, is accessed only through two standard atomic operations: wait() and signal().

2.monitor

A high-level language synchronization construct that protects variables from race conditions.

3.liveness

A set of properties that a system must satisfy to ensure that processes make progress during their execution life cycle.

二、英语总结(生词:)

1.semophore

(1)semaphore: sema(“sign, signal”,参考 semantic) + phoros(“bearer”)

u. Semaphore literally means “mechanical apparatus for signaling to distant points(向远距离点发送信号的机械装置)”,refer to “a system of sending signals using visual cues(视觉线索), such as flags(旗子) or lights(灯光)”。

(2)示例

A semaphore S is an integer variable that, apart from initialization, is accessed only through two standard atomic operations: wait() and signal()(《Operating System Concepts》第 272 页)。

2.indefinitely

(1)indefinite: in-(“not”) + definitus(“defined, set limite”,参考 definite)。

adj. not exact(不确定的), without clear limit(无限期的)。

(2)indefinitely: indefinite + -ly

adv. for a period of time with no fixed end(不确定地,无限期地)。

示例:A process waiting indefinitely under the circumstances just described is an example of a “liveness failure.”(《Operating System Concepts》第 283 页)。

3.inversion

(1)invert: in-(“in”) + vertere(“to turn”)

vt. to turn sth upside down(使颠倒)。

(2)inversion: act of inverting

(3) invert vs reverse

这两个词不好区分在于都包含 “opposite” 之意,目前我也没找到什么比较好的区分特征,先记录。

invert: turn upside down,turn inside out;flip。

示例1: the number 9 looks like an inverted 6

reverse: change in order, side, direction;reorder。

示例1:

Consider a list of two fractions: 1/2, 3/4.

If you invert the fractions: 2/1, 4/3.

If you reverse the fractions: 3/4, 1/2.

4.daunting

(1)daunt: dom-(“control”)

vt. to make sb feel sightly frightened or worried about their ability to achieve sth(使吓到,使气馁)。

(2)daunting:

adj. making sb feel slightly frightened or worried about their ability to achieve sth(令人发怵的,使人气馁的)。

(3)示例

Trying to identify when to use which tool, however, can be a daunting challenge (《Operating System Concepts》第 283 页)。

5.pessimistic

(1)pessimism: pessimus(“worst, very bad”)

u. the tendency to see the bad side of things(悲观主义,悲观情绪)。

(2)pessimist

c. a person who thinks that bad things are more likely to happen(悲观主义者)。

(3)pessimistic: pessimist + -ic。

adj. tending to think the worst aspect of things or believe that the worst will happen(悲观的).

(4)optimistically

optimistic(乐观的) 构词法同 pessimistic, 词根是 optimus,这里不再赘述。

关于英语的注解同步更新汇总到 https://github.com/codists/English-In-CS-Books 仓库。

三、其它

今天没有什么想说的。

四、参考资料

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)


http://www.ppmy.cn/server/175789.html

相关文章

【人工智能】人工智能安全(AI Security)

人工智能安全(AI Security) 是指保障人工智能系统免受各种攻击、滥用和错误操作的措施与技术。随着人工智能的广泛应用,AI的安全性问题变得越来越重要。AI安全不仅关注系统本身的稳定性与安全性,还涉及到如何确保AI的决策和行为是…

五种最新优化算法(ALA、AE、DOA、GOA、OX)求解多个无人机协同路径规划(可以自定义无人机数量及起始点),MATLAB代码

一、算法简介 (一)阿尔法进化(Alpha Evolution,AE)算法 阿尔法进化(Alpha Evolution,AE)算法是2024年提出的一种新型进化算法,其核心在于通过自适应基向量和随机步长的…

群体智能优化算法-䲟鱼优化算法 (Remora Optimization Algorithm, ROA,含Matlab源代码)

摘要 䲟鱼优化算法(Remora Optimization Algorithm,ROA)是一种基于䲟鱼在海洋中寄生与捕食者间交互关系而提出的元启发式算法。通过模拟䲟鱼在宿主附近进行寄生、吸附和随机机动等行为,ROA 在全局与局部搜索之间取得平衡。本文提…

Windows安全日志Defender 的配置被修改5007

事件 ID 5007 的含义 当 Windows Defender 的配置(如实时保护、扫描策略、排除项等)被手动或通过策略修改时,系统会记录此事件。可能的原因包括: 手动修改:用户或管理员通过界面更改了 Defender 设置。组策略或脚本&…

Blender-MCP服务源码2-依赖分析

Blender-MCP服务源码2-依赖分析 有个大佬做了一个Blender-MCP源码,第一次提交代码是【2025年3月7号】今天是【2025年月15日】也就是刚过去一周的时间,所以想从0开始学习这个代码,了解一下大佬们的开发思路 1-核心知识点 from mcp.server.fas…

基于asp.net实现的连锁餐厅收银系统[包运行成功+永久免费答疑辅导]

基于ASP.NET实现的连锁餐厅收银系统背景,可以从以下几个方面进行阐述: 一、技术背景 ASP.NET框架的普及与优势: ASP.NET是微软开发的一种用于构建Web应用程序的框架,它基于.NET Framework,提供了丰富的类库和开发工具…

Matlab GPU加速技术

1. GPU 加速简介 (1)为什么使用 GPU 加速? CPU 擅长处理逻辑复杂的串行任务,而 GPU 拥有数千个流处理器,专为并行计算设计。对于大规模矩阵运算、深度学习训练或科学计算等任务,GPU 加速可将计算速度提升数…

英语面试常见问题

1. Where were you born? I was born in Shanghai in 1978, a very beautiful city along the eastern coast. 2. Where did you have your education? I graduated from Beijing University, with the major of Economics in 2000. 3. Your working history? After my…