Operating System Concepts

#第三章-进程 Processes

Process--A program in execution. It's the unit of work in a modern time-sharing system.

Process includes these things, process stack, data section, heap, text.

◎ Process in Memory

A program by itself is not a process. A program is a passive entity. A process is an active entity.

A program becomes a process when an executable file is loaded into memory.

Although two processes may be associated with the same program , they are nevertheless considered two separate execution sequences.

#Process State

一个进程可能拥有的状态:

  • New,进程正被创建
  • Running,指令正被执行
  • Waiting,进程正在等待某些事情发生
  • Ready,进程正等待被赋给处理器
  • Terminated,进程已完成执行

Only one process can be running on any processor at any instant.




如希望撰写评论,请发邮件至 me@tianhegao.com (直接点击邮箱可自动跳转至默认邮箱App,并填写收信人和邮件主题)或者点击这里在线留言,我会挑选对读者有价值的评论附加到文章末尾。



可通过以下渠道赞赏此文