OS-Test2 - Cu 1 There are four principal events that cause...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Cu 1 There are four principal events that cause processes to be created 1/ System initialization. 2/ Execution of a process creation system call by a running process. 3/ A user request to create a new process. 4/ Initiation of a batch job. Cu 2: C 3 tr ng thi c a Process ( Ti n trnh) v s chuy n i gi a chng l: Tr ng thi 1: Running (Lc ny Process ang c th c hi n) Tr ng thi 2: Blocked ( Ti n trnh bu c ph i d ng v c n ph i c thm thng tin ,ti nguyn c th th c hi n ti p (v d d li u nh p vo t bn phm c a ng i dng) Tr ng thi 3: Ready ( Ti n trnh c thng tin, ti nguyn c th th c hi n ti p nh ng ph i vo tr ng thi Ready ch cc ti n trnh khc th c hi n. Cc chuy n i Chuy n i 1: T Running sang Blocked: Khi ti n trnh ang th c hi n m b thi u ti nguyn, thng tin (V d nh ph i ch ng i dng nh p vo) th ti n trnh s chuy n t Running sang Blocked ch c c p d li u. Chuy n i 2: T Running sang Ready: X y ra khi ti n trnh ang th c hi n m n ph i nh ng ch cho ti n trnh khc ang tr ng thi Ready th c hi n. Ti n trnh chuy n t Running sang Ready c th th c hi n ti p. Chuy n i 3: t Ready sang Running x y ra khi ti n trnh c d li u, ti nguyn c th th c hi n, v ang tr ng thi Ready. n l t n, n s chuy n...
View Full Document

Page1 / 6

OS-Test2 - Cu 1 There are four principal events that cause...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online