- 1
- 5 590
PRADNYA PATIL
เข้าร่วมเมื่อ 12 มิ.ย. 2020
CPU OS Simulator Practical
Deadlock_CPU_OS_Simulator_Programs:
program DeadlockP1
resource(0,allocate)
wait(3)
resource(1,allocate)
for n=1 to 20
next
end
----------------------------------
program DeadlockP2
resource(1,allocate)
wait(3)
resource(2,allocate)
for n=1 to 20
next
end
------------------------------------
program DeadlockP3
resource(2,allocate)
wait(3)
resource(3,allocate)
for n=1 to 20
next
end
--------------------------------------
program DeadlockP4
resource(3,allocate)
wait(3)
resource(0,allocate)
for n=1 to 20
next
end
program DeadlockP1
resource(0,allocate)
wait(3)
resource(1,allocate)
for n=1 to 20
next
end
----------------------------------
program DeadlockP2
resource(1,allocate)
wait(3)
resource(2,allocate)
for n=1 to 20
next
end
------------------------------------
program DeadlockP3
resource(2,allocate)
wait(3)
resource(3,allocate)
for n=1 to 20
next
end
--------------------------------------
program DeadlockP4
resource(3,allocate)
wait(3)
resource(0,allocate)
for n=1 to 20
next
end
มุมมอง: 5 610
Thank you so much mam! ❤
Most welcome 😊
can i test c++ program in the OS simulator
yes
Mam how to do this
any more videos
Hi ma'am, how to set the speed of execution to FAST in this simulator?
In check OS Control at right middle side, you can set speed Slow to Fast as per need.
Ma'am one more doubt how can we identify the hits,misses,miss and hit ratios bcoz we have 2 terminals like cache data and instruction cahche
Its not covered in this simulator. We will need advanced simulator to show this.@@sijypaul7679
Mam kindly do share the program source code in description
Done. Thanks for your suggestion.