You are on page 1of 22

Phge No.

Tayt-2 Deie
INd: Muhe Zara bh 1dta nhi hai ke Sir Kis Squoce me
Padha rhe ha kyinki nkibheji book ke hisaab
se dekun fe hes just juwMpng back awd Forth I
bluo Cha pfer ta 5. Ye SareS w2ale Teacher the
gaal khane layak Kyun hate hai

Dlext Rs in Pote mety wAAa

2 Stack Cerlauns aunpennay delo Mick Heap


Dofa
Text
Mena dayaet
MDataevibuwsqlelal votunes.
Heap DAwacaly albin meme tb paos dumg h ti

ei KINA ut e pSCUA I uald MpaMlilp

.
hut Slak dah z kdap Dosla may Vauy ww
Page No.

Dete

rocessSates Neu xit l e r d


Shae Ades fed

Sali i a unal pal Schedule

ReadyDipatRUn
tm T0 o Zvet Lait
lo 2oithanahr

Nee Sart phec


(Prszessdifeude
2Kunnisg shucligM 0A buny eueul

Ua LI0 LOpalieM Apen MAMA

5rndice pAeCLA CPmiid e nply ul wudd

rocess Contral Block(RCB


Cach phetU Gpesal n A0puld ey
ewlhe Bek
wawinun by 0S. A POB 6 wwquLo each MecaA
GtnO huphanlL UMDLLL llaA VnlL CalLA
pla roctess la) a PCB aumalnd b
Can e OS h anu PCB dala
Page No
Dale

PrecessSate i u Cussut lalh ephecu

cess PriviligtBurda

Paes TaP1) iai pe

PrearamonterPC l to t adhhua nt wkuclen

CPy Reaiskrslu msalin apab Cusua

n uglest Nal

RUSLedli Lahaen bia ikouwaim iclud aprez pueu


Peali to Lcutullua 4NAA

n eMarlanaacnont wtar miatin wpheralin ndludn

wA epsalg byslie
9Accovnting Lbrmationhis phwaien ieludis daDwotut a CPU

lo o Sadus Ltormsfi: lhis indemaluen intudL la atO derich


allbtaud i pAeR luf e sp la and
a
hge No.
De

Coret Swtohing wlunO Nup8CN Acurtly


ib hawdlud y
AMl) 0nd Aund aku wlmup

E a h Cuthiwehnalco Buu ast kweu


1

OALunLLalu (CPU k pra t ho ha ki last running sate tA Kans

DecaDat nlbup b hondlod iheut


les lexoten out phedaa in Calud Lontest
Swrtchn

t CPU

rocescheduli Nate Cheezan Contusha skh ha iaha pe


tp Siy ko 4aah dehi e t akhi dede

e a onpdurth eoinA Calud Rrocess Schedie


lo Uned

_Am wnk s secua Shasulas to pusulac


e spaeruA ovuad t tu pecs i
Page No.
Dale

chedu linsQueves

all pBtk 0h placud La3d quu dtpeudang


Cpen Nal ta pAeCL uy d coallid Stheili
Queses 0

(ueve Zyaykaneun peCA ta MLedasy me


h end a Jeb ulu

hlady Nal ok Neud A Ready Queue

wMhi nLwely uth a


th wolug Mal 0A1 N&Au natia Queue

CPp quUNLA AA CAA Dexice Qveuec


Note Device
Queve t y i o eu us be il

each dura Reae wuuh caslhwal pheLADA

hduel
Irec
Nte Na lut dlasiy DtmlheySchedulhkg in o
pus ablfracess Sthedulina Scheduliug Swappik
Schedulinae hacwnoy aggrka e GO Schedl
Na

PdB3
PCBT PLB2
Keady ed
Qveye | Relsters Kegistrs Rea'stos

Schedulers Shudt
Sched
A

Ready
ueuE-
Man Ier

Jduli4
Orailnl peu Ir baus n Scheddn

w aL3ip Queueing-Diagram hali


MhudulnA
1song lenToblfraces Scheluler pinan puAME

2MdlerwSwaspiua Sheduler ptama eh ud


Lcu t 10Apenb A t
aL Aaunal tmd bach to k pel n sudou
nghy b 2pPin hEOUlerbis petu n Lalin Swappihe

Je Schdulk
3 ) Sherr T Scheduler MeuAh A0hdy a s

D CPU y CPD Scheulee


l i speUACalu CPU SAdlig
Page o
Dae

Nde Dgree of MuhpragrammingNt Pantia


waim wmey n Maumamia
by ae Sdhedulerwd 9uducid b PU SJheduler

Dispatcker h bperia peguuhkt ackudluld phen


on hkua dupal ibCallad Dispath atoncy
tion
Uperahans bt rocesses
Sthadulsr
Kd venpt
5leck

Ja
reaian E sip
Fre cess Operahens

N t e altu ka guaanjprachcalMe kaasn aaya a.

yolin Call. Peluns D

ua lork) in calld tios


PaYtnt

cAAS calued Chla heacess

A pahuet peL eNuuhuiM pid_o


Phge No.
Dete

l execO GOm yslw Call


fukl

Cileec0
ingMaciknt ) CAl wed 1o unt 4a

n-tork Cev.dwda uushal


2Sdh ed ulingDispatkina hudulling aclnd
Diopnlthua pMecaM rd alik ln
h a ho chuhkel

WkLD eCA MArskun on10 ysum Call

domaied CPU

Rreemphan CPU ehuduling dlaesiwns

LMEt uaday Slafuada nupleex allgld

5) lerminain d Ddheliy nd peaA


Page o
Dte

wolng bPhetiLegualyA pANIN pet A


pire uMNall Suw hlady Luwg Nal)
Cascalira eminatian
Nate n ysem a poi P Uwwalid

tecprocess Lamunicatin IPC)

ndependeut ratesses : la pecs Ak dets nel ayet

A hdepea dent raceshR DAAA do N Akast

2operatisa Procesa p K wudh od guhakatu


aela pAetu s (ooperahve mcess
k DMLU has 0la GLDLNA.

Enpakaug Aeuana A ter prscess Lavmminafion Tb


data Domengpli thwtaPC Cn bt neE

nfarmeien SharchnMih Ca dmand a ome ule


DE CCuhhlu 0.ciM whmalkan
nodud waApeduclued
JLovpuhation Spedup A k Cn he eku u Aulalasks
Page No.
Dete

hi) Medular ty nawoduas 0S, Lwkue all elwuule 0

ulipl pAbCIAIA Lheh


vdemicne k_u Lan u

IPC Methods
ka Qs us udammal Medals Iwoleda b

aiterprocess lonmunicatln
Shared Menory Huu frecess A

Shareal

frocesB

Dend cit awaie Share


emo
de

Noe to selt ia bubayul, a Kernet

Sned MamEy Medul Con b wa te e


Krodveer-mumec recessynchranizAton roblewn
whuch t hediscuMAA uh knLiheuil exn

Dua ws Con hawtilI

ooud onsylhee pelol wawnuw Mpe (wtNLNL


Pagc No.

Dale

NHerodvcerCansUmer rblem

t Cau0
Vaid produeer (Vaid) Void ConsuerVoid
ttemp
ukle trvc H
Iht itec
Lohileltroe)1
praduceaeitep); ahileCCautzc0)
Lahle Cunt--n)t
itonC buhe Lot
butter Lin kmp out Out+mod n;
ihntMod n ovtcoU
Count= tent+

doad Re, mlavt


PTNCR KP DaCR Re
T Shre RRM

roduzerrocess onsumer YoLess

hdis bappetng radueer isproduci tons 2,ad


2Lensumer IsCon suina Htms ,eyar and e
3)A Oradar ueue CaledBuffey

Preduzey lansume eracess


peolim has 2 vtAMA hlength butter Luhich isdiecuxel
2 intinte bter Lwlich k igroredl

ase , i educs CewustA M alh amBha


ie P I PI, PI, CI CT, CIz MaaL hek
Qs Ceut e0 alyas CedL yeu G

AseL Az3/Ay Peu 22M CouwAA w


owbd
1 Cewsun e Ceuwd ys Praductim is
un 1 s teWmpAUBM LouwLA
Page No,
Ds

NotCase I ' o e s s Sjuc a s e

ate Shmashers ke playlist k video 26 dekkla


2 Mssag Yassing HAL frocess AM
L
Lewwwuitalien 9c0bs y
PracessB
D AA0.4 CenluuMly
Passia
hadel

Kerne

wollwuw dala B o uuiesi ko


LulbsalLyim Call aM LdA tntkag

o LowmmUiCatinnk bl AaB

Sed Desteatanauzsal Message Seud(tesa2


RezieseSaurzeratess ld, Message)A Recedve Messane)

a)Message Passing hraughComUaicahien alnk


Duie 1

DDreet Cammbaon dik


ink Meiod ymmetric LBoth Sendex AYeciextr wlnawe eadh dke

H SeudCDestinahian Pid,Messa4e)
Reciene Saurce idyMessage

Kk Medhad AShmetrie (Drly Stnder hwe recieer

Send Deshralan Pid Mesage


Recieve , Hessage) He means ta the id
O praxe to which Yeuiwer
ked t

Ci) ib acald te entlyo pheca

Disadyanta4e

adhvcot Louniahion k
Me SedDeciestisn Hailbo , Messagt)
ReciexeSource Hailbx , Message

eah b uE h MD w Mail bexes pors


h

walh
b)wa ecalA mo pca
Page No.
Date

BMessanass Sin h
D hronbus 4 NonSyachrondus esage osi

HAL StndlO Ruurt O CAn b Blackig Synchroraus)


Non- Bloxklq la As ynchronors)

Send
Non Blocklsed O Seunu Becu nds o

AElockig Recieve) ORecint h s decked


Recieve)
Non-Blhckh Retiev he Riea Atas ucLrtA
misa NULL aluk

aAd E theu ComtnalieA ekE WOys


MemaeP0n

DBlockl-g Send) Bockl Recieve)


2 Non Blockl Send() a Non-Blodkoing Reciexc 0
3 Non-Bhckl sedO a Blazki Recieve

Messaqe Possi lv ButeringMessage Qucues

Ned Kudl us Com h 3 tuypis o Mg uML


Page No.
Delc

Zero apac i Bleckiy Send h nudd o e


wnagg Ca n Qyu 7 apoi
No Bytr

h-lh quuue Non- Bocki Sod )


MA W qulgA epy pacL Slockb SeMa)_y

Nen-Blockl Scdo ud
Sstanalls on lessaae Quesues

) fokO wsal a wau ky Quud


wEagetl L Used to tsitap k kay

Na PC S y map FOSLX APL Shared Mumary


MachMessage lassia
Windowsc XP Cadbinl bo
on in Clet Server stens

3a 5oekets RPCs Pipes

1SocketyE B end pau 2-wCeialuen


k buutin hro awAA ARNo A AE
Clolrd 0cket) yt (n C tawn &violL
ot
P'age N0
Dale

0 deudu tmdte Qulut br NtL


Abwekhest Ath Sekut hos em P addsux
pet wnkA lhauaa ure liype tSROA

4 Data arom Sncket la


te beundut Hast web Sort
CI9636.5.20) (41.25 14.1)
Capocily pAAaNe4
Socket Secket
1G.96.5.20.1625) k1.25.1-3:9)

Secket dink
b Strean Socket mla b

SystnCalls on Sockets

) Sccketl) T uatDeckl
2 Bid)al ka Ta Sw Speali Cal
3 isten) : RAeuaa t betet n Suady to Cntat
San Spai lall)

5 AcceptO:Slnr thet hockak hAdy te aiit dala

2) Red: Raa dalal


5) Clese) Lurwwalis t ewuh
Page No.
Daic:

Rewmate Procedore Calls RPC,) fxaumaat


Cient valvsSey VE
ral Patsdhusu Cal (apPc)
Aappawa hn bih Clieat dacal Norwa Procedise (al)
s SorvexMo Am 0ddUM Cleeat Mahin Svey Mackis
Client Strvt

Gall 4 Reun
RPC AN duuelepua fe ped
Ceslealien i n CGie Serv
Serler ute tha a0 STUD

Runtime
Call Packke
e a t 6A la a hulurok
ATalbe wk dut Resulf Packet

Remle Pratedre Cal

Narkig
LOimedse aglie ulta
ut iwwale Ciest Sthb Reaore keN liuut uh
avchalls /facks akguni wWa a wminya4e

imelu auth mockuul

25NtAb ieh Dexarshalls Uapaks th palanlss

S e v t ub pouses u n T Mne Baapo dasya


Page No0
Dote

anspse ays wud hand,


bac lcleat stwb

Dnccdulen Auina th Calla


Nole:RP Runtime
NeRPC Ruatine Th a libhau
O d adt d l o
k
CewwmLwLLAlie ha Lmelsli RPC MuhawyA
2 Shub: PBentabs d wn s on=Te Systen
LleatSexvers PC
Adeantogs ot Ki
ode Ye-wrdia efer s minimi2ed
n) R Peudu Abstratieniesagpa PcL
i Suppeh Paus -BALad and-uula wdda

3ipes
LR ib Cennulen Hr tve petis Mh hat
tha Sandad tulpul lAem em paeu beums
Nowcash wpui o hn pec pex
A EmMALeM Eut lalld AeCLA

ipe ar at 2pesOrdinary Danamed ard NanedE1E0

Ordisary ipeslhay Luieiemaomweauw


y n k ndoh LAuls t e e end
p i p t Ha i t end) and ucuves Aündb on elu
Page No

Datc

end opp Lu Mad eudlS


farcnt Cld

uee a albe Callu


D:
Hnanuwmaus ipeswhiwdeusb
Cavn wvnicatian 1roh pipes
tdlo Read Ed fN>2

Chld phec LALd PAPt Cualen P

T Naned Pipes hey a hdnieno bmUwuka duag

BntcAlpd ud ELEOs UNIX

mklta e CallQnd CA
houpulld a Open read wre) A Cose0
dim Cally

&ahesahdala hmbwwme In iclnal ad d

UNTA a uunuy Le calien 2 FTO CaA be wz

Windouws AyumANawd Pip cleur bullduplex Bigarech


Page No.
De

Nole opn pclosefoachhus

sLAl lipt
2 Eox kKa

)Enuduewawnandb
5 Nalwg CrwmANd nal
Popen ILEpopen(ckarondstha, cher tpel
Pdlasel:S IntpdeseL]1E fp)

oproceesA Cepet a peu ch RL


pp ujulws upuit lenw cetis,
fareut (hild (Copreces
do] fe din

aLT K Ppe2 Stdouf

hreadsA had 0Maule tConlaueLA


NaBnlb takun m aeA

Levlaws Lenwxult Nalumuwla

DAeOA Singe hreaded a HulhBThreadtd


rocesses

A Threa4 has hread ID, Prearan Caunter, Reysters, Shacdk. ut 4adls


ba Pe b a hbuscis blur enth stu
Page No.
Datc

Sae lhrcaded hoccs[ deDat|Fles|


Reaisters Shdk Sngle
Lemlauns u enculan hreaded
Thred
Precess
Ie LA petaed at ene
a luL
CodeData Files
2Nu hreaded Processe ReapteRiks
hreaded
Precesss
staEkShchk
Lewlaun paullip pe tMadD
lehit enttudr wdupendlpulg
a (Bncuhully Aod Non

Bene htg or MuR Hhreaded Praqrawie


Incr eased Responsivenesg Mlihndun aay Can nuoul
Rpewe liw (R
2 Res Bete hesovre Shavi eA ao euheu tur en
ay IPC maked whuh ue he
bpuse ddaud akug ku enlikl Cnteulion me
n p 2 eny te dtland

rase 2Hibcybulug Sulihwg ipl pirtika

Salab1lty Mliphetue lin (emawd uh mulihhadung


phei ext koihMcuien Lhualig
e No.
Dae

Dis adyant ages o Molhthreadly


DCmplieated Mabtithadd pAbgdapah bng t
peghdm
OLEnlky Cmplualn

C8MuhhuyAm Na.gungCUAhMC

SErorDetechion tEalen dd tekduen oPp


wud we u l in Mulbihatadd phc

9AForking Wun a uad ala o tok)yun a


th-la
n th Can tus MeMahles
0NL duitatud da Metut Calling yad
lauealu Bu exec) ystn ee CallColA
ha siad dupltaliSe

Ih heu inDN usualy dipalds m


opplitalen y kok) is tall un MMAU
eccuhb

Note: Si nal baok mei


muh thrtadlsg pe paorachapter
hai QuY aL popra Lhapter padhna chah a5i
he waise bhi bahut Upar upar s e padhaya
wh javapaint se rmd Kiua tha wa to i r bhi thoda 5a, bahut-
thoda So detai mei chala 9 a to tum anage kar lea

You might also like