100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Lecture notes

Processes - Lecture Notes (COMP15212)

Rating
-
Sold
-
Pages
2
Uploaded on
29-05-2024
Written in
2023/2024

These lecture notes from COMP15212 provide an in-depth look into process management. Learn about process lifecycle, inter-process communication, and scheduling algorithms. Ideal for students aiming to understand how operating systems manage multiple processes efficiently.

Show more Read less








Whoops! We can’t load your doc right now. Try again or contact support.

Document information

Uploaded on
May 29, 2024
Number of pages
2
Written in
2023/2024
Type
Lecture notes
Professor(s)
Sean bechhofer
Contains
All classes

Subjects

Content preview

Processes

Definition Batch Processing

A process is
fundamentally a container that holds all the Job 1

information needed to run
program
a
.



Job 2


Job 3


new terminated Job Y
admitted J


exit

interrupt
# First In First Out
W
ready
-running
scheduler
Job 1 Job 2 Job 3 Job Y


Executed
-




1/0 or event
- dispatch I/0 or
completition event wait
Application o
on the CPU !
Shortest Job Next

waiting *
Operating System Job Y Job 1 Job 2 Job 3




Example With 1/0 points

int a , b; JobY Job 1 Job 2 Job 3




Y
scanf ("God" &a) ;
in put
Scanf (" %d" , & b) ; #
W



3
·




int s = a + b
; compute

Printf (" % d In" s) ; , youtput
With voluntary "yield' points as well


Job Y Job 1 Job 2 Job 3




*




How a system boots
up ?
Process Control Block

Process
1 init
systemd/launched a demon process
ID
Resource
Parent ID &
Info 2
Resource
·

Priority




T
2 #
-




Info 1
daemon process
PPID
adopts orphan
PID 3 ↑ xterm
killed
Registers S
Memory
bash 7 Block 2
8


Memory
fork creates a
D


9 child process Resources Block 1


Memory Memory
*

Block 3
Orphans
-




If parent before its children the children Next PCB
a
expires ,
are adopted' by init.

- to next PCB


Zombies


Childprocesses whichhavterminatedbutthis habenobsonbyRirroradot a
£5.48
Get access to the full document:

100% satisfaction guarantee
Immediately available after payment
Both online and in PDF
No strings attached

Get to know the seller
Seller avatar
jpxoi

Also available in package deal

Thumbnail
Package deal
Comprehensive Operating Systems Lecture Notes Bundle (COMP15212)
-
5 2024
£ 27.40 More info

Get to know the seller

Seller avatar
jpxoi The University of Manchester
View profile
Follow You need to be logged in order to follow users or courses
Sold
0
Member since
1 year
Number of followers
0
Documents
20
Last sold
-

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their exams and reviewed by others who've used these revision notes.

Didn't get what you expected? Choose another document

No problem! You can straightaway pick a different document that better suits what you're after.

Pay as you like, start learning straight away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and smashed it. It really can be that simple.”

Alisha Student

Frequently asked questions