www.vustudents.ning.com

We non-commercial site working hard since 2009 to facilitate learning Read More. We can't keep up without your support. Donate.

Assignment No. 02 CS604 –Operating System Total Marks: 20 Due Date: 30-06-2016

Assignment

Question:

Following are processes with their ticket number

 Process Number P0 3 P1 2 P2 0 P3 8 P4 5 P5 4 P6 7 P7 0 P8 9

Implement Bakery Algorithm on above processes in the form of table and show the execution order in critical section.

Sample Solution:

 j P0 P1 P3 P4 P5 P6 P8 0 1 2 3 4 5 6 7 8

Order: P3,P4,P7…..

Views: 7596

Attachments:

Replies to This Discussion

no it is wrong

Thanks For sharing :) :) But Question ya k Jin ko abhi b is ki Alf ba samj nahi ai wo b num. gain kr lain gain. Or kabhi samjny ka nahi sochain gain. Ya hi discuss kr detay un chand k sath jihain samj nahi thi ap ka full clear ho jata hamesha k liya un ka b bhala ho jata. Abhi b ak kami hai.

YE LO MOJ KRO SARE

just one point

k p1 sab se pehle kion jae ga critical section mien

q k p1 ka number sb se kam ha jo crtical section mn interest ha. p2 aur p7 tu participate he nahi krn gay

asignemnt bni kisi ne ???

mujhy bhe send karna mily tou

Tariq bhai kia ye thek ha solution?

image: https://api.ning.com/files/BbpUbJLkNV2i8F--OkVtFaoGJjBHk9tzx97AIghx...*-47wQvTiJSBuLmY6cDahO3MSgpXpicMgvyUMgoXg6e-BV/cs6042.jpg?width=750

1

2

Latest Activity

Muhammad Rizwan Ansari, Muhammad Imran, Hafsa kalsoom and 3 more joined Virtual University of Pakistan
42 minutes ago
13 hours ago

Mgt610 midterm fall 2021 (jan-14-2022)

yesterday
Malaika Iqbal, Tahir Abbas, Esha Arooj and 1 more joined Virtual University of Pakistan
yesterday
Student, Batool, Suha Khan and 3 more joined Virtual University of Pakistan
Friday
Nida Arshad Javaid Ch posted photos
Friday
subhan ali joined + M.Tariq Malik's group

MGT404 Managerial Accounting

Friday
Suha Khan joined + M.Tariq Malik's group

Friday