提交 43be681e 编写于 作者: 编程进阶之路's avatar 编程进阶之路

进程调度

上级 a729f628
...@@ -489,5 +489,317 @@ ...@@ -489,5 +489,317 @@
:rects (), :rects (),
:page 159}, :page 159},
:content {:text "[:span]", :image 1694193005125}, :content {:text "[:span]", :image 1694193005125},
:properties {:color "purple"}}
{:id #uuid "64fc3175-a2c0-49f6-acec-268c86684fcd",
:page 162,
:position {:bounding {:x1 388,
:y1 1404,
:x2 809,
:y2 1554,
:width 1269.1653333333334,
:height 1893.5128},
:rects (),
:page 162},
:content {:text "[:span]", :image 1694249332256},
:properties {:color "purple"}}
{:id #uuid "64fc31a3-d545-49ff-8c97-754bcfdbb6a7",
:page 162,
:position {:bounding {:x1 271,
:y1 1688,
:x2 891,
:y2 1791,
:width 1269.1653333333334,
:height 1893.5128},
:rects (),
:page 162},
:content {:text "[:span]", :image 1694249378475},
:properties {:color "purple"}}
{:id #uuid "64fc31cf-796c-4dbd-9896-bc571e2c615e",
:page 163,
:position {:bounding {:x1 366,
:y1 285,
:x2 977,
:y2 370,
:width 1269.1653333333334,
:height 1893.5128},
:rects (),
:page 163},
:content {:text "[:span]", :image 1694249422428},
:properties {:color "purple"}}
{:id #uuid "64fc3523-2d20-43bc-b5a3-95a01f96a9f0",
:page 163,
:position {:bounding {:x1 479,
:y1 1430,
:x2 892,
:y2 1619,
:width 1269.1653333333334,
:height 1893.5128},
:rects (),
:page 163},
:content {:text "[:span]", :image 1694250274067},
:properties {:color "purple"}}
{:id #uuid "64fc353c-a7f5-45ce-a94f-c71306514c76",
:page 163,
:position {:bounding {:x1 367,
:y1 1680,
:x2 985,
:y2 1779,
:width 1269.1653333333334,
:height 1893.5128},
:rects (),
:page 163},
:content {:text "[:span]", :image 1694250299923},
:properties {:color "purple"}}
{:id #uuid "64fc3719-90dd-4ab5-8f5b-0aee3673220b",
:page 164,
:position {:bounding {:x1 228,
:y1 1102,
:x2 920,
:y2 1568,
:width 1269.1653333333334,
:height 1893.5128},
:rects (),
:page 164},
:content {:text "[:span]", :image 1694250782143},
:properties {:color "purple"}}
{:id #uuid "64fc3909-e33f-4593-80f2-8541dc1e93bd",
:page 165,
:position {:bounding {:x1 378,
:y1 355,
:x2 994,
:y2 534,
:width 1269.1653333333334,
:height 1893.5128},
:rects (),
:page 165},
:content {:text "[:span]", :image 1694251272515},
:properties {:color "purple"}}
{:id #uuid "64fc392d-8794-4bf7-a37b-7757d9056387",
:page 165,
:position {:bounding {:x1 365,
:y1 648,
:x2 976,
:y2 740,
:width 1269.1653333333334,
:height 1893.5128},
:rects (),
:page 165},
:content {:text "[:span]", :image 1694251310843},
:properties {:color "purple"}}
{:id #uuid "64fc48df-76b3-4d20-b3c4-ceffac7fe59e",
:page 165,
:position {:bounding {:x1 380,
:y1 1414.9999999999998,
:x2 982,
:y2 1635.9999999999998,
:width 1269.1653333333334,
:height 1893.5128},
:rects (),
:page 165},
:content {:text "[:span]", :image 1694255329661},
:properties {:color "purple"}}
{:id #uuid "64fc48f4-e2bc-4006-9ef0-93bdb3348023",
:page 165,
:position {:bounding {:x1 382,
:y1 1697,
:x2 967,
:y2 1795,
:width 1269.1653333333334,
:height 1893.5128},
:rects (),
:page 165},
:content {:text "[:span]", :image 1694255346573},
:properties {:color "purple"}}
{:id #uuid "64fc4b98-f26c-459c-b513-b39ef38e8630",
:page 166,
:position {:bounding {:x1 428,
:y1 1646,
:x2 775,
:y2 1793,
:width 1269.1653333333334,
:height 1893.5128},
:rects (),
:page 166},
:content {:text "[:span]", :image 1694256023349},
:properties {:color "purple"}}
{:id #uuid "64fc4bcc-caf9-4eca-8265-fb0e3442da44",
:page 167,
:position {:bounding {:x1 370,
:y1 334,
:x2 988,
:y2 428,
:width 1269.1653333333334,
:height 1893.5128},
:rects (),
:page 167},
:content {:text "[:span]", :image 1694256075590},
:properties {:color "purple"}}
{:id #uuid "64fc4d0f-cf8e-4544-87dd-9e0a24a7fea5",
:page 167,
:position {:bounding {:x1 317,
:y1 1074,
:x2 1052,
:y2 1391,
:width 1269.1653333333334,
:height 1893.5128},
:rects (),
:page 167},
:content {:text "[:span]", :image 1694256401080},
:properties {:color "purple"}}
{:id #uuid "64fc4e9e-d01c-4cb3-82ac-382dd9593b35",
:page 169,
:position {:bounding {:x1 326,
:y1 144,
:x2 1023,
:y2 587,
:width 1269.1653333333334,
:height 1893.5128},
:rects (),
:page 169},
:content {:text "[:span]", :image 1694256796982},
:properties {:color "purple"}}
{:id #uuid "64fc501a-1f1f-4a41-9c22-e15319166b5d",
:page 169,
:position {:bounding {:x1 730,
:y1 1146,
:x2 1241,
:y2 1473,
:width 1269.1653333333334,
:height 1893.5128},
:rects (),
:page 169},
:content {:text "[:span]", :image 1694257183347},
:properties {:color "purple"}}
{:id #uuid "64fc5b1e-296a-4305-98f9-0208664c26ed",
:page 173,
:position {:bounding {:x1 338,
:y1 298,
:x2 1000,
:y2 651,
:width 1269.1653333333334,
:height 1893.5128},
:rects (),
:page 173},
:content {:text "[:span]", :image 1694260002571},
:properties {:color "purple"}}
{:id #uuid "64fc5dbe-78cd-42b8-aac8-2d40800fd409",
:page 174,
:position {:bounding {:x1 242,
:y1 655,
:x2 948,
:y2 845,
:width 1269.1653333333334,
:height 1893.5128},
:rects (),
:page 174},
:content {:text "[:span]", :image 1694260674639},
:properties {:color "purple"}}
{:id #uuid "64fc5dfc-9e1b-4079-8cc7-c48b8b7b25cf",
:page 174,
:position {:bounding {:x1 242.00000000000003,
:y1 919,
:x2 953,
:y2 1109,
:width 1269.1653333333334,
:height 1893.5128},
:rects (),
:page 174},
:content {:text "[:span]", :image 1694260737713},
:properties {:color "purple"}}
{:id #uuid "64fc61e7-1961-4cdc-959f-ad251a162b6d",
:page 175,
:position {:bounding {:x1 137,
:y1 1358,
:x2 576,
:y2 1674,
:width 1269.1653333333334,
:height 1893.5128},
:rects (),
:page 175},
:content {:text "[:span]", :image 1694261737009},
:properties {:color "purple"}}
{:id #uuid "64fc629f-3cae-444d-b9e3-2782eed81027",
:page 175,
:position {:bounding {:x1 647,
:y1 1206,
:x2 1164,
:y2 1676,
:width 1269.1653333333334,
:height 1893.5128},
:rects (),
:page 175},
:content {:text "[:span]", :image 1694261923059},
:properties {:color "purple"}}
{:id #uuid "64fc6372-56d6-4641-988b-260c3118b78f",
:page 176,
:position {:bounding {:x1 243.99999999999994,
:y1 442,
:x2 916,
:y2 950,
:width 1269.1653333333334,
:height 1893.5128},
:rects (),
:page 176},
:content {:text "[:span]", :image 1694262134835},
:properties {:color "purple"}}
{:id #uuid "64fc6473-9b00-4ea1-a2ac-965cf12f6ec9",
:page 177,
:position {:bounding {:x1 285,
:y1 246,
:x2 1036,
:y2 469,
:width 1269.1653333333334,
:height 1893.5128},
:rects (),
:page 177},
:content {:text "[:span]", :image 1694262385659},
:properties {:color "purple"}}
{:id #uuid "64fc66ac-f099-47cf-b799-9ff686ca44cc",
:page 177,
:position {:bounding {:x1 319,
:y1 1452,
:x2 991,
:y2 1601,
:width 1269.1653333333334,
:height 1893.5128},
:rects (),
:page 177},
:content {:text "[:span]", :image 1694262959284},
:properties {:color "purple"}}
{:id #uuid "64fc67da-317f-4125-9bd0-81e0ef22bd4e",
:page 178,
:position {:bounding {:x1 122,
:y1 281,
:x2 1050,
:y2 444,
:width 1269.1653333333334,
:height 1893.5128},
:rects (),
:page 178},
:content {:text "[:span]", :image 1694263262140},
:properties {:color "purple"}}
{:id #uuid "64fc68f2-e555-401b-ad72-f96ab507c7ef",
:page 178,
:position {:bounding {:x1 182,
:y1 943,
:x2 1003,
:y2 1097,
:width 1269.1653333333334,
:height 1893.5128},
:rects (),
:page 178},
:content {:text "[:span]", :image 1694263540572},
:properties {:color "purple"}}
{:id #uuid "64fc6a6e-d7b6-4949-aa69-a5d0a12d6251",
:page 179,
:position {:bounding {:x1 162,
:y1 568,
:x2 1170,
:y2 710,
:width 1269.1653333333334,
:height 1893.5128},
:rects (),
:page 179},
:content {:text "[:span]", :image 1694263917104},
:properties {:color "purple"}}], :properties {:color "purple"}}],
:extra {:page 160}} :extra {:page 196}}
...@@ -10,4 +10,5 @@ ...@@ -10,4 +10,5 @@
- 早期的计算机一次只能执行一个程序。这种程序完全控制系统,并且访问所有系统资源。然而,现代计算机系统允许加载多个程序到内存,以便于并发执行。这种改进要求:对各种程序提供更严谨的控制和更好的划分。这些需求导致了 [[OS-进程]] 的概念产生,即 [[$red]]==**进程为执行程序**==。进程是现代分时系统的工作单元 - 早期的计算机一次只能执行一个程序。这种程序完全控制系统,并且访问所有系统资源。然而,现代计算机系统允许加载多个程序到内存,以便于并发执行。这种改进要求:对各种程序提供更严谨的控制和更好的划分。这些需求导致了 [[OS-进程]] 的概念产生,即 [[$red]]==**进程为执行程序**==。进程是现代分时系统的工作单元
- 在讨论进程时,我们假设每个进程具有单个控制线程的一个执行程序。不过几乎所有的现代操作系统都允许一个进程包含多个线程。下面我们理解 [[OS-多线程]] 概念 - 在讨论进程时,我们假设每个进程具有单个控制线程的一个执行程序。不过几乎所有的现代操作系统都允许一个进程包含多个线程。下面我们理解 [[OS-多线程]] 概念
- CPU调度是多道程序操作系统的基础。通过在进程间切换CPU,操作系统可以使得计算机更加高效。下面我们在 [[OS-进程调度]] 中讨论CPU调度的基本概念和多个算法,也考虑为特定系统而选择算法的问题。在为进程模型中引入线程概念后,[[#green]]==对于支持线程的操作系统,**操作系统实际调度的是 内核级线程 而非 进程**==。不过,[[$green]]==**进程调度****线程调度**常常交替使用==。我们讨论一般的调度概念,所以采用进程调度;在针对线程特定概念是,采用线程调度 - CPU调度是多道程序操作系统的基础。通过在进程间切换CPU,操作系统可以使得计算机更加高效。下面我们在 [[OS-进程调度]] 中讨论CPU调度的基本概念和多个算法,也考虑为特定系统而选择算法的问题。在为进程模型中引入线程概念后,[[#green]]==对于支持线程的操作系统,**操作系统实际调度的是 内核级线程 而非 进程**==。不过,[[$green]]==**进程调度****线程调度**常常交替使用==。我们讨论一般的调度概念,所以采用进程调度;在针对线程特定概念是,采用线程调度
-
- -
\ No newline at end of file
此差异已折叠。
...@@ -287,4 +287,186 @@ file-path:: ../assets/操作系统概念(原书第9版)_1693569619608_0.pdf ...@@ -287,4 +287,186 @@ file-path:: ../assets/操作系统概念(原书第9版)_1693569619608_0.pdf
hl-color:: purple hl-color:: purple
id:: 64fb556e-5beb-4984-9a92-03894c06bc7f id:: 64fb556e-5beb-4984-9a92-03894c06bc7f
hl-type:: area hl-type:: area
hl-stamp:: 1694193005125 hl-stamp:: 1694193005125
\ No newline at end of file - [:span]
ls-type:: annotation
hl-page:: 162
hl-color:: purple
id:: 64fc3175-a2c0-49f6-acec-268c86684fcd
hl-type:: area
hl-stamp:: 1694249332256
- [:span]
ls-type:: annotation
hl-page:: 162
hl-color:: purple
id:: 64fc31a3-d545-49ff-8c97-754bcfdbb6a7
hl-type:: area
hl-stamp:: 1694249378475
- [:span]
ls-type:: annotation
hl-page:: 163
hl-color:: purple
id:: 64fc31cf-796c-4dbd-9896-bc571e2c615e
hl-type:: area
hl-stamp:: 1694249422428
- [:span]
ls-type:: annotation
hl-page:: 163
hl-color:: purple
id:: 64fc3523-2d20-43bc-b5a3-95a01f96a9f0
hl-type:: area
hl-stamp:: 1694250274067
- [:span]
ls-type:: annotation
hl-page:: 163
hl-color:: purple
id:: 64fc353c-a7f5-45ce-a94f-c71306514c76
hl-type:: area
hl-stamp:: 1694250299923
- [:span]
ls-type:: annotation
hl-page:: 164
hl-color:: purple
id:: 64fc3719-90dd-4ab5-8f5b-0aee3673220b
hl-type:: area
hl-stamp:: 1694250782143
- [:span]
ls-type:: annotation
hl-page:: 165
hl-color:: purple
id:: 64fc3909-e33f-4593-80f2-8541dc1e93bd
hl-type:: area
hl-stamp:: 1694251272515
- [:span]
ls-type:: annotation
hl-page:: 165
hl-color:: purple
id:: 64fc392d-8794-4bf7-a37b-7757d9056387
hl-type:: area
hl-stamp:: 1694251310843
- [:span]
ls-type:: annotation
hl-page:: 165
hl-color:: purple
id:: 64fc48df-76b3-4d20-b3c4-ceffac7fe59e
hl-type:: area
hl-stamp:: 1694255329661
- [:span]
ls-type:: annotation
hl-page:: 165
hl-color:: purple
id:: 64fc48f4-e2bc-4006-9ef0-93bdb3348023
hl-type:: area
hl-stamp:: 1694255346573
- [:span]
ls-type:: annotation
hl-page:: 166
hl-color:: purple
id:: 64fc4b98-f26c-459c-b513-b39ef38e8630
hl-type:: area
hl-stamp:: 1694256023349
- [:span]
ls-type:: annotation
hl-page:: 167
hl-color:: purple
id:: 64fc4bcc-caf9-4eca-8265-fb0e3442da44
hl-type:: area
hl-stamp:: 1694256075590
- [:span]
ls-type:: annotation
hl-page:: 167
hl-color:: purple
id:: 64fc4d0f-cf8e-4544-87dd-9e0a24a7fea5
hl-type:: area
hl-stamp:: 1694256401080
- [:span]
ls-type:: annotation
hl-page:: 169
hl-color:: purple
id:: 64fc4e9e-d01c-4cb3-82ac-382dd9593b35
hl-type:: area
hl-stamp:: 1694256796982
- [:span]
ls-type:: annotation
hl-page:: 169
hl-color:: purple
id:: 64fc501a-1f1f-4a41-9c22-e15319166b5d
hl-type:: area
hl-stamp:: 1694257183347
- [:span]
ls-type:: annotation
hl-page:: 173
hl-color:: purple
id:: 64fc5b1e-296a-4305-98f9-0208664c26ed
hl-type:: area
hl-stamp:: 1694260002571
- [:span]
ls-type:: annotation
hl-page:: 174
hl-color:: purple
id:: 64fc5dbe-78cd-42b8-aac8-2d40800fd409
hl-type:: area
hl-stamp:: 1694260674639
- [:span]
ls-type:: annotation
hl-page:: 174
hl-color:: purple
id:: 64fc5dfc-9e1b-4079-8cc7-c48b8b7b25cf
hl-type:: area
hl-stamp:: 1694260737713
- [:span]
ls-type:: annotation
hl-page:: 175
hl-color:: purple
id:: 64fc61e7-1961-4cdc-959f-ad251a162b6d
hl-type:: area
hl-stamp:: 1694261737009
- [:span]
ls-type:: annotation
hl-page:: 175
hl-color:: purple
id:: 64fc629f-3cae-444d-b9e3-2782eed81027
hl-type:: area
hl-stamp:: 1694261923059
- [:span]
ls-type:: annotation
hl-page:: 176
hl-color:: purple
id:: 64fc6372-56d6-4641-988b-260c3118b78f
hl-type:: area
hl-stamp:: 1694262134835
- [:span]
ls-type:: annotation
hl-page:: 177
hl-color:: purple
id:: 64fc6473-9b00-4ea1-a2ac-965cf12f6ec9
hl-type:: area
hl-stamp:: 1694262385659
- [:span]
ls-type:: annotation
hl-page:: 177
hl-color:: purple
id:: 64fc66ac-f099-47cf-b799-9ff686ca44cc
hl-type:: area
hl-stamp:: 1694262959284
- [:span]
ls-type:: annotation
hl-page:: 178
hl-color:: purple
id:: 64fc67da-317f-4125-9bd0-81e0ef22bd4e
hl-type:: area
hl-stamp:: 1694263262140
- [:span]
ls-type:: annotation
hl-page:: 178
hl-color:: purple
id:: 64fc68f2-e555-401b-ad72-f96ab507c7ef
hl-type:: area
hl-stamp:: 1694263540572
- [:span]
ls-type:: annotation
hl-page:: 179
hl-color:: purple
id:: 64fc6a6e-d7b6-4949-aa69-a5d0a12d6251
hl-type:: area
hl-stamp:: 1694263917104
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册