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

ความคิดเห็น • 12

  • @G.O.A.T._.
    @G.O.A.T._. 2 หลายเดือนก่อน

    Thank you so much mam! ❤

  • @user-sf2dx1yj5s
    @user-sf2dx1yj5s 4 หลายเดือนก่อน

    any more videos

  • @sijypaul7679
    @sijypaul7679 11 หลายเดือนก่อน

    Hi ma'am, how to set the speed of execution to FAST in this simulator?

    • @pradnyapatil6809
      @pradnyapatil6809  11 หลายเดือนก่อน +2

      In check OS Control at right middle side, you can set speed Slow to Fast as per need.

    • @sijypaul7679
      @sijypaul7679 11 หลายเดือนก่อน

      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

    • @pradnyapatil6809
      @pradnyapatil6809  4 หลายเดือนก่อน

      Its not covered in this simulator. We will need advanced simulator to show this.@@sijypaul7679

  • @Jawariyakhaliq
    @Jawariyakhaliq ปีที่แล้ว +1

    Mam kindly do share the program source code in description

    • @pradnyapatil6809
      @pradnyapatil6809  4 หลายเดือนก่อน

      Done. Thanks for your suggestion.

  • @user-sf2dx1yj5s
    @user-sf2dx1yj5s 3 หลายเดือนก่อน

    can i test c++ program in the OS simulator