Disadvantages of Semaphores

Поділитися
Вставка
  • Опубліковано 16 вер 2024
  • Operating System: Disadvantages of Semaphores
    Topics discussed:
    1. Disadvantages of Semaphores.
    2. Busy Waiting.
    3. Modification of wait() and signal() operations.
    4. Deadlocks and Starvation.
    Follow Neso Academy on Instagram: @nesoacademy (bit.ly/2XP63OE)
    Follow me on Instagram: @jaiz_itech (bit.ly/2M3xyOa)
    Contribute: www.nesoacadem...
    Memberships: bit.ly/2U7YSPI
    Books: www.nesoacadem...
    Website ► www.nesoacadem...
    Forum ► forum.nesoacad...
    Facebook ► goo.gl/Nt0PmB
    Twitter ► / nesoacademy
    Music:
    Axol x Alex Skrindo - You [NCS Release]
    #OperatingSystemByNeso #OperatingSystem #ProcessSynchronization #Semaphores

КОМЕНТАРІ • 28

  • @anshrohatgi8602
    @anshrohatgi8602 2 роки тому +31

    stundent starvation for os ends here , indeed such aa gemmm 🙌🙌🙌🙌🙌🙌🙌🙌🙌🙌🙌🙌🙌🙌🙌🙌🙌🙌🙌🙌

  • @nightcrawler4293
    @nightcrawler4293 10 місяців тому +2

    1- Semaphores belongs to the non-active waiting solutions for synchronization .
    passive waiting solutions : semaphores , locks , cs , monitor .
    2 - the solution you discussed , we took it in college as the semaphore form directly .

  • @findynx
    @findynx 6 місяців тому +1

    l enjoyed the tutorial, so insightful and well presented. Thank you!!

  • @kwakuboateng7525
    @kwakuboateng7525 2 роки тому +9

    Wowww. Lovely teachings. Do you have a website where I can learn more?. Very well done!! :)

  • @VivekRaj-kk5jb
    @VivekRaj-kk5jb 3 роки тому +9

    Please unlock rest of the chapters like deadlock, virtual memory etc. so that we can complete the course.

    • @nesoacademy
      @nesoacademy  3 роки тому +3

      Hi, you can access them on our website/app after getting the Neso Fuel.

    • @PradeepYadav-fg2yg
      @PradeepYadav-fg2yg 2 роки тому +1

      @@nesoacademy what is neso fuel

    • @josephjoy7080
      @josephjoy7080 2 роки тому +6

      @@PradeepYadav-fg2yg its a subscription$ , i would subscribe if i was you.
      his OS videos are the best
      and the prices are really cheap compared to other!

    • @nikunjhemani7093
      @nikunjhemani7093 Рік тому +2

      @@josephjoy7080 neso ka broker😂😂😂

  • @sharondjongo9470
    @sharondjongo9470 8 місяців тому

    Merci beaucoup.

  • @c.d.premkumar6867
    @c.d.premkumar6867 2 роки тому +2

    It is not "need for busy wIting" it should be "overcome the problem of busy waiting".

  • @keremaksoy8007
    @keremaksoy8007 2 роки тому +6

    I think the deadlock is not about only the semaphores with waiting quaes. It can also happens with binary semaphores if we implement them in a same way like in the video, am I right ?

    • @kerematasen399
      @kerematasen399 2 роки тому +1

      I guess so.

    • @adolfocarrillo248
      @adolfocarrillo248 2 роки тому +5

      No, deadlock can not happen in a binary semaphore, a binary semaphore is like a mutual exclusion algorithm.

    • @NisargaChowdaiah
      @NisargaChowdaiah 6 місяців тому

      No, bcz binary semaphores only for 2 processes

  • @rahulshaw7457
    @rahulshaw7457 3 роки тому +1

    Nice sir❣️❣️❣️❣️

  • @AbhishekKumar-kk6qs
    @AbhishekKumar-kk6qs Рік тому

    This busy waiting for all solution you discussed all have this busy waiting.

    • @minhhoangcong9155
      @minhhoangcong9155 Рік тому +1

      thats what i think

    • @unmandarinoalgiorno...9321
      @unmandarinoalgiorno...9321 2 місяці тому

      @@minhhoangcong9155 Indeed i didn't understand the waiting-queue solution to resolve busy waiting problem. It seems to me that the busy waiting exists always.

  • @Sparkler210
    @Sparkler210 Рік тому +2

    Deadlock:
    Resource1
    Assigned to Waiting for
    Process1 Process2
    Waiting for assigned to
    Resource2

  • @narimanvatankhah1269
    @narimanvatankhah1269 2 місяці тому

  • @venkataswamykadiyam977
    @venkataswamykadiyam977 3 роки тому +1

    Please upload atleast 2 videos for a day sir

  • @mdminhazulislamroyel2709
    @mdminhazulislamroyel2709 6 місяців тому

    End on ONE NIGHT RUN

  • @udbhavvikramsingh3449
    @udbhavvikramsingh3449 3 роки тому +2

    I didn't understand what is two semaphore S & Q means here
    Why process need two semaphore 🤔🤔🤔🤔

    • @shaziasamreen8584
      @shaziasamreen8584 3 роки тому +18

      Each resources has its own semaphore. So think it as P0 is first trying for resource S and P1 is trying for Resource Q.After they get them P0 will wait for Resource Q which is acquired by P1 and P1 will wait for resource S which is acquired by P0 which is a deadlock condition.Hope this helps.Correct me of I am wrong

    • @chandran-youtube
      @chandran-youtube 2 роки тому +1

      @@shaziasamreen8584 cool

    • @minhhoangcong9155
      @minhhoangcong9155 Рік тому

      @@shaziasamreen8584 nice

  • @mudassarsiddiqui4112
    @mudassarsiddiqui4112 2 роки тому

    👍👍