《Operating System Concepts》阅读笔记:p162-p176

《Operating System Concepts》学习第 17 天,p162-p176 总结,总计 15 页。

一、技术总结

1.thread

(1)定义

A thread is a basic unit of CPU utilization; it comprises a thread ID, a program counter (PC), a register set, and a stack.

A process control structure that is an execution location. A process with a single thread executes only one task at a time, while a multi-threaded process can execute a task per thread.

2.multicore programming

(1)multicore

Multiple processing cores within the same CPU chip or within a single system.

(2)concurrency vs parallelism

A concurrent system supports more than one task by allowing all the tasks to make progress. In contrast, a parallel system can perform more than one task simultaneously.
在这里插入图片描述
在这里插入图片描述

(3)multithreading model

Many-to-One Model,One-to-One Model,Many-to-Many Model。

二、英语总结(生词:3)

1.empirically

(1)emperical: em-(“in”) + *per-(“to try, to risk”) + -al(adjective suffix, “of, like, related to”)

adj. pertaining to expericence(以经验为依据的)。

(2)empirically: empirical + -ly。

(3)示例

Empirically gauging the difference in overhead can be difficult, but in general thread creation consumes less time and memory than process creation(《Operating System Concepts》第 162 页)。

2.interleave

(1)interleave: inter-(“among”) + leave(“to place”)

vt. mix by alternating(使交替,使轮流) between them.

(2)示例

n a system with a single computing core, concurrency merely means that the execution of the threads will be interleaved over time (Figure 4.3), because the processing core is capable of executing only one thread at a time(《Operating System Concepts》第 162 页)。

3.prominent

(1)prominent: pro-(“forward”) +minere(“project, jut out”, mons(“mountain”))

adj. prominent litrerally imply sth “stands out, jut out”, over time, means “very noticeable, important, or famous(突出的,重要的,著名的)”

(2)示例

Lambda expressions—as well as similar functions known as closures—are a prominent feature of functional programming languages and have been available in several nonfunctional languages as well including Python, C++, and C#(《Operating System Concepts》第 174 页)。

关于英语的注解同步更新汇总到 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)

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值