CPU OS Simulator Practical
ฝัง
- เผยแพร่เมื่อ 18 มี.ค. 2023
- 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
Thank you so much mam! ❤
Most welcome 😊
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.
can i test c++ program in the OS simulator
yes
Mam how to do this