CSE 131 Lecture Notes - Lecture 9: Job Scheduler, Child Process, First Come, First Served

30 views4 pages
28 Jan 2019
School
Course
Professor

Document Summary

At the time they enter the system. Submission of a new job causes the scheduler to run. Scheduling only done when a job voluntarily gives up the cpu (i. e. while waiting for an i/o request) May also be used for batch systems. Scheduling algorithms at each interrupt and picks the next process from the pool of ready processes. When are processes scheduled: when a process is created. A fork creates a parent and child processes. The scheduler picks one (they are both in the ready state: when a process exits. Picks a ready process: when a process blocks on i/o, lock, or other. The type of block can influence which process to wake. E. g. blocking on a semaphore may cause switching to the process in the critical region: when an interrupt occurs. E. g. an i/o is complete and thus promoting waking up a process waiting for the input. A periodic clock interrupt can cause rescheduling (non) preemptive scheduling algorithms.

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers

Related Documents