Hands down the best explanation of Peter's Solution. The concept of 'humbly giving the other turn' made it much more clear.
@amasaadi38222 күн бұрын
%100 agree
@ishvendra33953 жыл бұрын
I am doing a paid course and I couldn't understand their explanation so I came here and wow this explanation is soo better xD .. Neso academy rocks!!
@mArjunyadav3 жыл бұрын
what is the course for? Can u share it?
@srishylesh29353 жыл бұрын
yes. same qn
@anonymousguy92633 жыл бұрын
@@mArjunyadav doesn't matter Neso academy has far good content for a free cost.. We like everything free if it is available anywhere..
@ChaitanyaRacharla2 жыл бұрын
@@anonymousguy9263 Lol no bro it ain't free, you gotta pay for the chapters further
@anonymousguy92632 жыл бұрын
@@ChaitanyaRacharla yes ı know and ı paıd for ıt.. It ıs very nominal..
@chandrachurmukherjeejucse5816 Жыл бұрын
The best lecture on Peterson's solution that I have watched till now 🔥
@gatecseaspirant-dk9ze2 ай бұрын
then you had watched all the wrong lectures till now..... Man did not explain how to check M.E., progress and B.W... he just read the code
@mostafatarekadam88612 жыл бұрын
Thank you I understand it clearly now, the key is to draw the two processes and trace the instructions
@aniketkulkarni3013Ай бұрын
No one has been able to explain this algorithm in depth. Thank you so much; I am truly grateful for your help.🙌🙏
@TheRkmutube3 жыл бұрын
Your videos are amazingly simple and easy to understand and most importantly your humble variable 😀 first of its own kind man!!
@AyaNori Жыл бұрын
I think the while loop is supposed to be while(flag[j] && turn=j); instead of turn=[j] since j is an int, not an array. but anyway, I agree with everyone! you're videos have helped me so much!!
@GTBBwastaken2 жыл бұрын
I was sceptic about watching this video due to its length. However, very good and thorough explanation. I came up with this real life example when both processes want to enter their critical section: 1. You and your friend both want to enter a bus. 2. You insist your friend that he/she enters first. 3. But your friend is insisting that you enter first. 4. Not to cause any delay, you enter first. 5. Your friend enters after you. P.S. Happens to me many times in real life. I want to let people go first and they insist that I go first. So, to not delay any further I go first.
@franklinmaradiaga24015 ай бұрын
WOWWWW, what can i say... This is hands down the absolute best explanation of Peterson's Solution!!! My book was def not enough to get it, and I just didn't even try to understand it, but with ur video, I feel like I understood all of the algorithm!
@Oberon6212 жыл бұрын
These videos are excellent. I like to watch these first and then glide through the textbook after.
@sayonislam72223 жыл бұрын
Peterson's solution be like - "Pehle aap jaiye, nhi nhi pehle aap, " 😅😂
@Emaaaaaas2 жыл бұрын
😂🎁
@Lostviibez2 ай бұрын
Quick understanding: as both process wants to enter first turn value is set to j in left hand part And in the right hand part turn is set to I So now turn has i value Left hand part becomes false (left hand while loop become false) So p0 Is executed and the right hand part the while condition is true(as turn is set to I)it keeps on looping and doesn't let p1 (pj) enter the critical section after completing p1 in the LHS part i = false is set Then now in the RHS the while condition becomes false and j can enter critical section
@akshatsrivastava2007 Жыл бұрын
Thankyou Very much Clear and lucid Explanation Able to understand easily..😊
@SonuGupta-wj6dg3 жыл бұрын
it's 3:30 am . I've exam at 11 and this video can't be more awesome than it is😎
@radaefilms31503 жыл бұрын
I'm in the same position dude
@SonuGupta-wj6dg3 жыл бұрын
@@radaefilms3150 hold on 😂
@areejaasna3 жыл бұрын
@@SonuGupta-wj6dg lol guess who join the squad :"")
@heutras3 жыл бұрын
bois you forgot about me
@radaefilms31503 жыл бұрын
@@heutras 😂😂😂 na were in this together how'd ur exam go
@darshilvshah3 жыл бұрын
The explanation is simply fabulous
@srisangeeth4131 Жыл бұрын
Most clear explanation of Peterson solution ,Thanks for the video👍👍
@begumonal Жыл бұрын
well explained, made me pass my exam. thank you so much for the great content.
@kubraoztiryaki58762 жыл бұрын
the best video i've ever watched about peterson's solution. i think you used feynman technique in a good way :)
@meghanareddy21973 жыл бұрын
So well explained 👏👏
@shashankh33 жыл бұрын
the explanation!!! truly amazing
@TamilazhaganS-x7v Жыл бұрын
Very much satisfied with the answer. Thanks for the flawless explanation.
@wizardop2100 Жыл бұрын
Best explanation ❤. Thank you sir
@twoPointers1233 ай бұрын
maturity when you realise it is not humble just pretend to be humble 💀💀💀💀💀💀💀💀💀💀💀💀💀💀🥲🥲🥲🥲🥲🥲🥲🥲🥲🥲
@Anuparna_Gangopadhyay Жыл бұрын
Your explanation is very good sir❤ & it's very much helpful
@rohitkandula8493 Жыл бұрын
💫💫✨✨Better explnation than our college🔥🔥🔥🔥🔥🔥
@sameensultana17373 жыл бұрын
The topics are explained so well.
@Haleemasultan122 күн бұрын
loved the explanation .
@AbhishekRaj-on3xi Жыл бұрын
Thank you Neso Academy for the amazing explanation ❤️
@wendymcdonald7351 Жыл бұрын
Thank you for the OS save! Could not understand this via the textbook.
@datanerden1057Ай бұрын
Great video! But there is a mistake in the example of the solution. In the while loop, it says turn == [i], but it should be turn == i. The same for process i, where it should be turn == j, not turn == [j].
@iovewhalien2191 Жыл бұрын
thank you so much for this video, I could not understand my textbook at all. you explained this so clearly, I understood it right away!
@learning_new Жыл бұрын
Well explanation sir... really you are God gifted one❤️
@rayvinlai72682 жыл бұрын
Thanks,the explanation of semicolon after while helps me a lot
@tanvirhasanmonir16273 жыл бұрын
Very well explanation, easy to understand
@sakshisomani75582 жыл бұрын
Your teaching is next level
@prakhar266 Жыл бұрын
this was the best video on Peerson's Solution. Thanks man
@rumiNITPatna3 ай бұрын
thank u so much for such a wonderful explanation.
@mich19709 ай бұрын
This is so well made, ty so much. I understood it perfectly
@swadheenta.957VBTS8 ай бұрын
you are amazing sir really . thank you soo much. you deserve to be honoured by best teacher of india. i really want to recommend for this honour . thank you 💜💜
@SkyV778 ай бұрын
@cloudjumper7252 ай бұрын
The problem I can see with this is that it is uses critical section to solve cs problem itself. By defenition: cs - segment of code, which is present in every process, in which the process may be changing data stored in shared memory. turn variable is shared, so, by defenition it is a critical section and executing them concurently leads to race condition but it does not affect it because value is assigned anyway so one of the procesess will enter and pass execution to the next one after exiting cs
@msatyabhaskarasrinivasacha58746 ай бұрын
Neso academy zindabad....long live neso academy🎉🎉🎉
@zishuning Жыл бұрын
Very clear, thank u
@CodeMode9313 Жыл бұрын
its the best explaination ...to the exceution ..thank u so much
@yashraikwar54129 ай бұрын
Nicely explained 💯🙏🏻❤️
@sreegeeta5897Ай бұрын
thanks for the explanation
@taniyabhagat4315 Жыл бұрын
bestest explanation ever on youtube🤩
@kavyakavya7258 Жыл бұрын
Really awesome class thank you so much sir for this good class 🙏😊
@reenaantony4984 Жыл бұрын
Thank you ❤ for the beautiful lecture
@rohitkandula8493 Жыл бұрын
From 12:42 watch for detail explanation ~~~🫶🔥🔥
@manthankhandale2310 ай бұрын
Well Explained. Thanks a lot!
@dinushachathuranga7657 Жыл бұрын
Thanks a lot for the clear explanation
@btcdivine9 ай бұрын
Excellent explanation
@sanjuvikasini1598 Жыл бұрын
Thank you so much for the informative video!
@elijahparker1789 Жыл бұрын
Thank you so much for this video. It's amazing how bad college professors can be at explaining something
@danielleananga7743 Жыл бұрын
you guys are life savers😭😭
@arthiannamalla50283 жыл бұрын
I was literally waiting for this....thank you so much
@lydiaarabi4811 Жыл бұрын
tré tré bonne explication😍😍
@kautukraj2 жыл бұрын
Very helpful, thank you.
@Asim_Usama3 жыл бұрын
JazakAllah😇
@wassup1022 жыл бұрын
Thank you sir
@divyaagarwal30912 жыл бұрын
Thankyou so much sir
@divyaagarwal30912 жыл бұрын
Awesome Explanation
@장현정-x8f8 ай бұрын
Thank you for making me understand ! Even in Korea, I'm watching this ~~ ;)
@कशिशदीक्षित8 ай бұрын
Thankyou so much...
@saurabhbhargava62902 жыл бұрын
"flag(j/I)" is sufficient. " turn == " is redundant. Also both processes can get stuck at while if both flags are true which can happen when both processes execute simultaneously. It works only when P1 and P2 are in queue.
@sameermeshram30623 жыл бұрын
Sir upload the video of control system
@l6e6i6n3 жыл бұрын
when Pi writes its flag value it is possible that Pj could also be attempting to read from that value in that instant of execution if Pi's write is not atomic then could'nt this cause another race condition on Pi's flag value such that Pj reads a half written/corrupt value
@paragggoyal15522 ай бұрын
i cried during the video, it should have required 5 minutes not 20 minutes. sorry this might not be the popular opinion but it is true for me. also, telling the process vs telling the proof are completely different things.
@laluyadav1828 Жыл бұрын
Really helpful thanks bro
@peterlearnsCS8 ай бұрын
Thank you, well-explained! Be humble! 😅
@muhidshaikh64462 жыл бұрын
well explained👍👍👍
@fiona26783 жыл бұрын
Awesome explanation sir.
@ShravanthiK-wj3vb4 ай бұрын
I'm hving exm after 3hours I'm seeing urs i grt understood
@chitradey3708 Жыл бұрын
Thanks ❤❤
@ajaykumarmodugu91553 жыл бұрын
Thank you very much
@ankushladani4962 жыл бұрын
Awesome explaination..
@ahmetkarakartal9563 Жыл бұрын
Allah sizden razı olsun
@anaranyabose2 жыл бұрын
Best explanation than the book 😍
@ShmuelIntayeb9 ай бұрын
but how can i know who is the last one to modify the turn variable? (who will be the first one to enter the critical section) does the processor just choose one of them randomly?
@Nameiscantsay3 ай бұрын
Why don't KZbin has 4x speed?
@__.solitary Жыл бұрын
Thanks ❣️
@diwang45723 жыл бұрын
Thank you sir!!
@ninjanape2 жыл бұрын
beautiful, thank you!
@samerbehery77993 жыл бұрын
Thank You
@stockoverflowrecursive Жыл бұрын
I want to ask that how can you make sure the updation of variable flag[] and turn is synchronized? If they are not been synchronized, this solution doesn't work right? Anyone can explain this?
@bpravalika-29243 жыл бұрын
amazing explanation sir
@michelecorc2 жыл бұрын
omg finally i understand, thx neso
@dianafarhat9479 Жыл бұрын
Can you please explain why the solution doesn't work on modern computer architectures?
@عبدالرحمنخالد-ش4ت6ي2 жыл бұрын
thanks a lot ❤
@MinakshiBiradar-m7s Жыл бұрын
Just amazing one
@nileshtiwari74992 жыл бұрын
awesome explanation !!
@pawloaspaja2892 жыл бұрын
Thank you so much. Well explained.
@siddiquabegum-l2v Жыл бұрын
tq soooooooooooooooooooooooooooooooooooooooooooooooooooo much you helped me lot
@Hutero Жыл бұрын
holy this is amazing, THANKS ALOT
@sathvikbrao2 жыл бұрын
Good course,but suggested to use numbers or iterations for I and j in the explanation of the Peterson's solution,more of theory might feel boring