L-3.5: LOCK Variable in OS | Process Synchronization

Поделиться
HTML-код
  • Опубликовано: 18 сен 2024

Комментарии • 125

  • @Lime-rr6te
    @Lime-rr6te 3 года назад +62

    seriously man, i can't tell you how much your content has helped me through my semesters. Thank you

  • @supriyoroy2359
    @supriyoroy2359 3 года назад +64

    You made OS and AI too easy for me. thank you

    • @amanahmed6057
      @amanahmed6057 3 года назад +11

      easy hi tha wo,,,College teacher ko khood samaj me nahi aaya toh bacho ko kya samjhaayenge (@_@)

    • @AvikNayak_
      @AvikNayak_ 2 года назад +4

      @@amanahmed6057 sach kaha. College mein samjhaya itna kharab ki sab hard lagne laga.

    • @mariyamamreen439
      @mariyamamreen439 Год назад +2

      mashAllah solute from Pakistan 🇵🇰 and I am very thank full to you for such an amazing lectures 🤞❣️❣️thankuh so much amazing teacher ✨✨✨✨✨✨✨

  • @adityarai2831
    @adityarai2831 3 года назад +64

    Yes getting the point😀

  • @himleshbisht
    @himleshbisht 3 года назад +20

    Sir my dbms exam gone very good only because of your videos thanks 🙏

  • @lavishsainik5757
    @lavishsainik5757 3 года назад +16

    6:33 😂😂😂😂😂😂😂😂😂😂🔥🔥 sir you are great...mtlb itna boring subject bhi fir bhi esa lgta hai ki puri playlist ek sath dekh lo

  • @kalpanaverma1269
    @kalpanaverma1269 2 года назад +19

    I'm literally enjoying this os playlist 😍 ! Thank you so much sir 😊 god bless u for this

  • @harshith_takkala
    @harshith_takkala 3 года назад +18

    Emergency me chala gaya P1 washroom pei🤣🥴
    Thanks bhaiya

  • @AhadAli-bb3xj
    @AhadAli-bb3xj 3 года назад +16

    Thanks to your efforts you made for us sir......it will be very helpful for us if you please tell the changes, if made in GATE 2022 Syllabus. ...if possible....!

  • @modikunjkumarmahendrakumar3306
    @modikunjkumarmahendrakumar3306 3 года назад +16

    tomorrow is my exam and video is uploaded 5 days ago!!! It's called luck

  • @ibrahimindorewala3199
    @ibrahimindorewala3199 10 месяцев назад +2

    yaaar best O.S teacher i have ever had !
    thank you sooo much sir
    you helped a-lot !!!

  • @AnshPundhir-qs4pe
    @AnshPundhir-qs4pe 10 дней назад +1

    Omg! "getting the point or not", is amazing 😂

  • @SoulFrmTitanic
    @SoulFrmTitanic Год назад +9

    I wonder how students excelled their semesters before these beautiful tutorials even came to existence....

  • @52khalid25
    @52khalid25 2 года назад +7

    Even our teacher suggest your video lectures ❤️❤️

  • @aamirhayat9628
    @aamirhayat9628 2 года назад +2

    Behtreen.....thanks a lot.. Concept and simplicity run parallelly👍👍👍

  • @TechGiant.s
    @TechGiant.s 6 месяцев назад

    I was stuck in this concept. Understood by your video. Love from the depth of my heart 😊

  • @kewtomrao
    @kewtomrao 3 года назад +49

    what is the infinite while loop called?
    EDIT: Its called as Spin Lock.

  • @leeganghalley6477
    @leeganghalley6477 3 года назад +5

    Sir your videos on os are awesome.... Sir it's a request please make some problem solving videos on stacks and queues...

  • @sudhanwabokade1285
    @sudhanwabokade1285 3 года назад +3

    I hope apke 1 million jald se jald ho

  • @hinalpatel18
    @hinalpatel18 5 месяцев назад

    Saviour during exam time....
    Thank you 😊

  • @mareshbm2731
    @mareshbm2731 3 года назад +1

    Your channel must have millions of subscribers....thanku very much sir❤️

  • @izaanvohra8845
    @izaanvohra8845 Год назад

    From Pakistan and enjoying it alot how you teach
    🥰

  • @paulsnehasish5830
    @paulsnehasish5830 3 года назад +3

    thanks for this new video in the playlist sir

  • @kanakchoudhary4065
    @kanakchoudhary4065 2 месяца назад +1

    5:28 epic😂

  • @diyabhalla4558
    @diyabhalla4558 2 года назад

    Thnkew bhaiya ap bht helpful ho really proud of your knowledge

  • @aryaman_godara
    @aryaman_godara 2 года назад

    Nice video, I liked 'gran-tea' refreshes my north indian accent of saying Guarantee

  • @bhavyasachula7006
    @bhavyasachula7006 5 месяцев назад

    thank u so much sirrrrrr

  • @Ravin2313
    @Ravin2313 7 месяцев назад

    Your videos are just awesome sir ❤❤❤❤❤❤

  • @106_shubhamsingh6
    @106_shubhamsingh6 Год назад +1

    Getting the point 👍👍

  • @himanshh10
    @himanshh10 Год назад

    Sir make videos from this camera it has good quality and clear cut scene

  • @tarunverma3335
    @tarunverma3335 3 года назад +2

    Sir write through and write back pe bhe video bana do

  • @amirsuhel7184
    @amirsuhel7184 Год назад

    You're a life saver.

  • @aveepsham.g1772
    @aveepsham.g1772 3 года назад +1

    Thank u sir....❤️❤️

  • @nupurhiray2318
    @nupurhiray2318 Год назад

    Inki videos ko sachme SUBSCRIBERS BOHOT JARURI HAI !

  • @saqibqureshi5193
    @saqibqureshi5193 Год назад

    Thank you sir.

  • @adilaarshad4859
    @adilaarshad4859 3 года назад

    Lots of love from Pakistan .....stay blesses🥰🥰

  • @abhijitbiswas294
    @abhijitbiswas294 3 года назад +3

    Sir please make playlist on :
    1. Internet Technologies ,
    2. Digital Image Processing ,
    3. Numerical Methods,
    4. Machine Learning,
    6. Software Engineering,
    7. Computer Graphics,
    8. System programming,
    9. Introduction to Data Science.
    Please 🥺 sir make playlist

  • @thenikhildaiya.
    @thenikhildaiya. 11 месяцев назад +1

    Both the process/person entered the same bathroom and the shared variable which is privacy got breached(nange punga dekh liye ek dusre ko) and race condition occured(pehle me hang gunga, nahi pehle me hang gunga)!

  • @snehaagrawal37
    @snehaagrawal37 3 года назад +1

    Plz make a short video on aging algorithm

  • @HelloWorld40408
    @HelloWorld40408 Год назад

    Thank you Sir

  • @Lokesh_yadav__
    @Lokesh_yadav__ 2 года назад

    *getting point to note* 😁😁😁

  • @dinatjahanmilitasnim4614
    @dinatjahanmilitasnim4614 Год назад

    Thanks a lot

  • @rohanraj2604
    @rohanraj2604 3 года назад

    thankyou sir for this video 🥰

  • @deepikachauhan3879
    @deepikachauhan3879 3 года назад

    Thank you sir🙏🙏

  • @Sankhokun
    @Sankhokun 3 года назад +2

    GETTINGTHEPOINTORNOT

  • @ishitapaneru5023
    @ishitapaneru5023 Год назад

    Sir ! I means in semaphores there is also no guarantee of mutual exclusion .. because there is also same condition if it preemed before s=s-1 ; instructions then there is no mututal exclusion .

  • @indianarmy680
    @indianarmy680 3 года назад +1

    Jai Shree Ram 🙏

  • @aashikhanna2524
    @aashikhanna2524 2 года назад +1

    is there no video on peterson solution? and even bounded buffer problem?

  • @harshitgoyal2382
    @harshitgoyal2382 3 года назад +1

    🥺🥺thnks

  • @sulectures2773
    @sulectures2773 3 года назад

    Tq Sir

  • @mani_fitness03
    @mani_fitness03 Год назад

  • @preetichauhan7530
    @preetichauhan7530 3 года назад

    Nice

  • @Luffy_2804
    @Luffy_2804 10 месяцев назад

    GOAT ✌

  • @a2m_gaming535
    @a2m_gaming535 6 месяцев назад

    Bhaiya Peterson’s Solution ki lectures please...

  • @SHAKTIPRIYA-h7s
    @SHAKTIPRIYA-h7s Месяц назад

    Mastttt Padhate ho Sir aap 🪄🪄🪄🪄

  • @rafidhasan7003
    @rafidhasan7003 3 года назад +1

    King

  • @vikashprasad1770
    @vikashprasad1770 3 года назад

    subscribed from all 3 ids
    xD

  • @Mohitbajaj792
    @Mohitbajaj792 2 года назад

    Thx

  • @SandeepKaur-vj3xc
    @SandeepKaur-vj3xc 2 года назад

    Sir please make video on busy from of waiting 🙏🏼

  • @bishwajeetpandey1570
    @bishwajeetpandey1570 3 года назад

    Ossm

  • @nancysoni2374
    @nancysoni2374 11 месяцев назад

    G.O.A.T

  • @pratikkurra4754
    @pratikkurra4754 8 месяцев назад

    Can we use flags, for process synchronization? like flag==1, process P1 can access, When P1 has access- Flag set to 0. On exit code, P1 sets Flag back to 1 for P2

  • @GoKitchenChannel
    @GoKitchenChannel 3 года назад +1

    😍

  • @_aka5h
    @_aka5h 2 года назад

    Yes sir, getting the point

  • @Heheboi156
    @Heheboi156 9 месяцев назад

    Subscribers bhot jaruri h sir sahi bole 🤣🤣🤣

  • @saurabhraj5411
    @saurabhraj5411 3 года назад

    bruh this content is GOLD :3

  • @rockstaranjan7
    @rockstaranjan7 2 года назад +2

    Sir- getting the point or not?
    Me- Yes Sir..❤🙏

  • @muhammadhariskhan8204
    @muhammadhariskhan8204 2 года назад

    :) Thanks

  • @AkshayKumar-js7ne
    @AkshayKumar-js7ne 3 года назад +1

    Sir make on video supernetting or aggregation

  • @muhammadkamran4582
    @muhammadkamran4582 3 года назад

    Sir make a playlist cloud computing

  • @hsgamingvault463
    @hsgamingvault463 11 месяцев назад +1

    Is mutex lock or lock variable are the same... plz reply...

  • @ghulammujtabaadil2247
    @ghulammujtabaadil2247 3 года назад

    sir compare and swap instructions pe video banayen please

  • @AnilKumar-tm6fq
    @AnilKumar-tm6fq 3 года назад

    Please upload videos discrete math then I other videos

  • @vinayaksharma-ys3ip
    @vinayaksharma-ys3ip 3 года назад

    👍👍👍💯

  • @debojitghosh1244
    @debojitghosh1244 2 года назад

    got the point sir XD nice lectures

  • @rupalisoni5983
    @rupalisoni5983 3 года назад

    Upload more important videos for nta net computer science

  • @samareshms4591
    @samareshms4591 2 года назад

    Apka purana hairstyle hi acha tha sir

  • @SanketSharmasanket7317
    @SanketSharmasanket7317 2 месяца назад +1

    ok

  • @lavishsainik5757
    @lavishsainik5757 3 года назад +1

    6:34 😂😂😂🔥 lo ji...mutual exclusion gyi

  • @swatirajput7888
    @swatirajput7888 3 года назад

    Sir plz networking ka bhi provide kariye Dsssb tgt cs k liye

  • @gaunikasrivastava7851
    @gaunikasrivastava7851 2 года назад

    What are some conditions in which process P1 might get preempted after line number 1 ( can it be due to some I/O request or request to access some hardware)?

  • @misbaullaskar7059
    @misbaullaskar7059 10 месяцев назад

    Subscriber bohot jaruri hai

  • @AkshaySharma-bg3oj
    @AkshaySharma-bg3oj Год назад

    my man has serious issue with bathroom, someone must have violated his mutual exclusion there xd

  • @tarunraheja84
    @tarunraheja84 2 года назад +1

    definitions of concepts do

  • @hemantkumarsingh8615
    @hemantkumarsingh8615 Год назад

    To enter every time, any process needs lock value to be zero. How is lock value decided initially?

  • @ishajaiswal7102
    @ishajaiswal7102 2 года назад +1

    Why both process lock value update simultaneously

    • @aamirhayat9628
      @aamirhayat9628 2 года назад +1

      Its one of the case from many execution cases of processes. As P1 pre-empt as well as it acquire lock also but yet not updated the value and P2 also acquire lock ,update value after P2 , process P1 also execute lock updating statement (line 2). In this way both updated lock value.

    • @ishajaiswal7102
      @ishajaiswal7102 2 года назад

      @@aamirhayat9628 ok thanks

  • @MadhuKumari-pz2jo
    @MadhuKumari-pz2jo 3 года назад

    Sir aap computer ki free classes kb se start kroge

  • @rishabhsrivastava1241
    @rishabhsrivastava1241 3 года назад

    Hello,
    Is this same as mutex lock?

  • @aparnag5987
    @aparnag5987 3 года назад

    But is it actually possible for a process to preempt just before setting the lock variable?

  • @Heheboi156
    @Heheboi156 9 месяцев назад

    Ha bhai aagye exams pass pohoch Gaye operating system padhne 😂

  • @rishikaul22
    @rishikaul22 3 года назад

    Can a process pre-empt in the critical section?

  • @constructing_akhirah
    @constructing_akhirah Год назад

    Bounded waiting is not satified ?

  • @ishajaiswal7102
    @ishajaiswal7102 2 года назад +1

    Why lock variable execute in user mode

    • @hemantkumarsingh8615
      @hemantkumarsingh8615 Год назад

      clearly there is no role of operating system here. that is the reason why lock variable exxecute in user mode.

  • @faizanhaider3953
    @faizanhaider3953 3 года назад

    Sir i am doing MCA can i attempt GATE xam?? GATE karun Yaa NET.. Kuch samjh nai arraha h... Plzzz help me sir🙏

  • @TrueTube7264
    @TrueTube7264 3 года назад

    test and set ka video jaldi upload karo

  • @soumitakar4373
    @soumitakar4373 2 года назад +1

    Getting the point or not 😁😁

  • @AryanSingh-eq2jv
    @AryanSingh-eq2jv Год назад

    00:50

  • @rupalisoni5983
    @rupalisoni5983 3 года назад

    Good morning sir mai nta ugc net computer science k liye preparation kr rhi hu so plz help me.

  • @kartikkothekar6862
    @kartikkothekar6862 Месяц назад

    Getting point or not 🎵🎶 😂

  • @misbaullaskar7059
    @misbaullaskar7059 10 месяцев назад

    Bhai mera flat ka ma'am har ek minute mein minimum 1/2 baar bolega
    "Beta Awaz Nhi"😂

  • @monabbar007
    @monabbar007 9 месяцев назад

    Process is in washroom!!