OS note

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了OS note相关的知识,希望对你有一定的参考价值。

Since I have no Input method installed in my ubuntu this moment yet, I have to type everything in English. Maybe tranlate this in the future

1. To implement the process model, the operating system maintain a table(usually an array of structure), called the Process Table(also known as Process Control Block)

2. CPU utilization can be improved by adding another memory

3. Processes are used to group resource together(resource management), while threads are the entities scheduled for execution on the CPU(think of the phrase "thread of control")

4. How can a non-blocking I/O be ?  (  when  non-blocking I/O finished, it iterrupt the executing process. Non-blocking I/O program is hard to make )

5. How can an interrupt be ?    ( when the system(not necessarily the system kernel, could be the runtime-environment) decide that it‘s proper to deliver an interrupt, it just force to "save the registers of the executing process", "push stacks...." )

以上是关于OS note的主要内容,如果未能解决你的问题,请参考以下文章

python os, os.path和sys模块

[Python3] 030 常用模块 os

OS用法详解os.path.abspath(__file__)&os.path.dirname()&os.path.basename(__file__)&os.path.joi

Python 基础之模块之os os.path 及os与shutil对比

os.system和os.popen函数

Python之OS模块