Тёмный

Peterson’s Solution 

Neso Academy
Подписаться 2,6 млн
Просмотров 371 тыс.
50% 1

Operating System: Peterson’s Solution
Topics discussed:
1. Peterson’s solution to The Critical-Section Problem.
Follow Neso Academy on Instagram: @nesoacademy (bit.ly/2XP63OE)
Follow me on Instagram: @jaiz_itech (bit.ly/2M3xyOa)
Contribute: www.nesoacademy.org/donate
Memberships: bit.ly/2U7YSPI
Books: www.nesoacademy.org/recommend...
Website ► www.nesoacademy.org/
Forum ► forum.nesoacademy.org/
Facebook ► goo.gl/Nt0PmB
Twitter ► / nesoacademy
Music:
Axol x Alex Skrindo - You [NCS Release]
#OperatingSystemByNeso #OperatingSystem #ProcessSynchronization #PetersonsSolution

Опубликовано:

 

7 июл 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 163   
@ishvendra3395
@ishvendra3395 3 года назад
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!!
@mArjunyadav
@mArjunyadav 2 года назад
what is the course for? Can u share it?
@srishylesh2935
@srishylesh2935 2 года назад
yes. same qn
@anonymousguy9263
@anonymousguy9263 2 года назад
@@mArjunyadav doesn't matter Neso academy has far good content for a free cost.. We like everything free if it is available anywhere..
@ChaitanyaRacharla
@ChaitanyaRacharla 2 года назад
@@anonymousguy9263 Lol no bro it ain't free, you gotta pay for the chapters further
@anonymousguy9263
@anonymousguy9263 2 года назад
@@ChaitanyaRacharla yes ı know and ı paıd for ıt.. It ıs very nominal..
@anirudh7137
@anirudh7137 Год назад
Hands down the best explanation of Peter's Solution. The concept of 'humbly giving the other turn' made it much more clear.
@sayonislam7222
@sayonislam7222 2 года назад
Peterson's solution be like - "Pehle aap jaiye, nhi nhi pehle aap, " 😅😂
@Emaaaaaas
@Emaaaaaas Год назад
😂🎁
@chandrachurmukherjeejucse5816
@chandrachurmukherjeejucse5816 10 месяцев назад
The best lecture on Peterson's solution that I have watched till now 🔥
@TheRkmutube
@TheRkmutube 2 года назад
Your videos are amazingly simple and easy to understand and most importantly your humble variable 😀 first of its own kind man!!
@mostafatarekadam8861
@mostafatarekadam8861 Год назад
Thank you I understand it clearly now, the key is to draw the two processes and trace the instructions
@AyaNori
@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!!
@DroopNasty
@DroopNasty 2 года назад
These videos are excellent. I like to watch these first and then glide through the textbook after.
@iovewhalien2191
@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!
@darshilvshah
@darshilvshah 2 года назад
The explanation is simply fabulous
@begumonal
@begumonal Год назад
well explained, made me pass my exam. thank you so much for the great content.
@tanvirhasanmonir1627
@tanvirhasanmonir1627 2 года назад
Very well explanation, easy to understand
@avantikabisht9848
@avantikabisht9848 Год назад
best tutorials..loved watching them...extremely helpful.
@akshatsrivastava2007
@akshatsrivastava2007 Год назад
Thankyou Very much Clear and lucid Explanation Able to understand easily..😊
@SonuGupta-wj6dg
@SonuGupta-wj6dg 2 года назад
it's 3:30 am . I've exam at 11 and this video can't be more awesome than it is😎
@radaefilms3150
@radaefilms3150 2 года назад
I'm in the same position dude
@SonuGupta-wj6dg
@SonuGupta-wj6dg 2 года назад
@@radaefilms3150 hold on 😂
@ariz9381
@ariz9381 2 года назад
@@SonuGupta-wj6dg lol guess who join the squad :"")
@heutras
@heutras 2 года назад
bois you forgot about me
@radaefilms3150
@radaefilms3150 2 года назад
@@heutras 😂😂😂 na were in this together how'd ur exam go
@meghanareddy2197
@meghanareddy2197 3 года назад
So well explained 👏👏
@AbhishekRaj-on3xi
@AbhishekRaj-on3xi Год назад
Thank you Neso Academy for the amazing explanation ❤️
@sameensultana1737
@sameensultana1737 2 года назад
The topics are explained so well.
@GTBBwastaken
@GTBBwastaken 2 года назад
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.
@user-ez6tt2vh3m
@user-ez6tt2vh3m 8 месяцев назад
Very much satisfied with the answer. Thanks for the flawless explanation.
@wendymcdonald7351
@wendymcdonald7351 8 месяцев назад
Thank you for the OS save! Could not understand this via the textbook.
@srisangeeth4131
@srisangeeth4131 9 месяцев назад
Most clear explanation of Peterson solution ,Thanks for the video👍👍
@shashankh3
@shashankh3 2 года назад
the explanation!!! truly amazing
@kavyakavya7258
@kavyakavya7258 Год назад
Really awesome class thank you so much sir for this good class 🙏😊
@fiona2678
@fiona2678 2 года назад
Awesome explanation sir.
@arthiannamalla5028
@arthiannamalla5028 3 года назад
I was literally waiting for this....thank you so much
@kubraoztiryaki5876
@kubraoztiryaki5876 Год назад
the best video i've ever watched about peterson's solution. i think you used feynman technique in a good way :)
@mich1970
@mich1970 2 месяца назад
This is so well made, ty so much. I understood it perfectly
@wizardop2100
@wizardop2100 Год назад
Best explanation ❤. Thank you sir
@rayvinlai7268
@rayvinlai7268 Год назад
Thanks,the explanation of semicolon after while helps me a lot
@sanjuvikasini1598
@sanjuvikasini1598 10 месяцев назад
Thank you so much for the informative video!
@Anuparna_Gangopadhyay
@Anuparna_Gangopadhyay 5 месяцев назад
Your explanation is very good sir❤ & it's very much helpful
@bpravalika-2924
@bpravalika-2924 3 года назад
amazing explanation sir
@sakshisomani7558
@sakshisomani7558 Год назад
Your teaching is next level
@kautukraj
@kautukraj 2 года назад
Very helpful, thank you.
@pawloaspaja289
@pawloaspaja289 2 года назад
Thank you so much. Well explained.
@yashraikwar5412
@yashraikwar5412 2 месяца назад
Nicely explained 💯🙏🏻❤️
@learning_new
@learning_new 8 месяцев назад
Well explanation sir... really you are God gifted one❤️
@Asim_Usama
@Asim_Usama 2 года назад
JazakAllah😇
@reenaantony4984
@reenaantony4984 9 месяцев назад
Thank you ❤ for the beautiful lecture
@dinushachathuranga7657
@dinushachathuranga7657 9 месяцев назад
Thanks a lot for the clear explanation
@elijahparker1789
@elijahparker1789 Год назад
Thank you so much for this video. It's amazing how bad college professors can be at explaining something
@manthankhandale23
@manthankhandale23 3 месяца назад
Well Explained. Thanks a lot!
@btcdivine
@btcdivine 2 месяца назад
Excellent explanation
@nileshtiwari7499
@nileshtiwari7499 2 года назад
awesome explanation !!
@ajaykumarmodugu9155
@ajaykumarmodugu9155 2 года назад
Thank you very much
@divyaagarwal3091
@divyaagarwal3091 Год назад
Awesome Explanation
@CodeMode9313
@CodeMode9313 9 месяцев назад
its the best explaination ...to the exceution ..thank u so much
@zishuning
@zishuning 9 месяцев назад
Very clear, thank u
@divyaagarwal3091
@divyaagarwal3091 Год назад
Thankyou so much sir
@prakhar266
@prakhar266 11 месяцев назад
this was the best video on Peerson's Solution. Thanks man
@diwang4572
@diwang4572 2 года назад
Thank you sir!!
@kashishdixit2671
@kashishdixit2671 Месяц назад
Thankyou so much...
@rohitkandula8493
@rohitkandula8493 8 месяцев назад
💫💫✨✨Better explnation than our college🔥🔥🔥🔥🔥🔥
@laluyadav1828
@laluyadav1828 11 месяцев назад
Really helpful thanks bro
@daipayanhore3726
@daipayanhore3726 Год назад
Thank you so much
@wassup102
@wassup102 Год назад
Thank you sir
@sameermeshram3062
@sameermeshram3062 3 года назад
Sir upload the video of control system
@lydiaarabi4811
@lydiaarabi4811 10 месяцев назад
tré tré bonne explication😍😍
@ankushladani496
@ankushladani496 2 года назад
Awesome explaination..
@ninjanape
@ninjanape Год назад
beautiful, thank you!
@nishithagalla2211
@nishithagalla2211 Год назад
Thank you very much 🙏
@ahmetkarakartal9563
@ahmetkarakartal9563 Год назад
Allah sizden razı olsun
@samerbehery7799
@samerbehery7799 2 года назад
Thank You
@ShmuelIntayeb
@ShmuelIntayeb 3 месяца назад
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?
@swadheenta.9521VBTS
@swadheenta.9521VBTS 2 месяца назад
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 💜💜
@SkyV77
@SkyV77 2 месяца назад
@rashidibrahim979
@rashidibrahim979 Год назад
Thank you!
@__.solitary
@__.solitary Год назад
Thanks ❣️
@konscomputertutorials7473
@konscomputertutorials7473 2 года назад
what a clear explanation
@muhidshaikh6446
@muhidshaikh6446 Год назад
well explained👍👍👍
@nojoodothmanal-ghamdi1026
@nojoodothmanal-ghamdi1026 2 года назад
OMG I understood it! Thank you!
@tomdapchai
@tomdapchai 2 месяца назад
tks alot
@anaranyabose
@anaranyabose 2 года назад
Best explanation than the book 😍
@chitradey3708
@chitradey3708 8 месяцев назад
Thanks ❤❤
@anantadebnath1831
@anantadebnath1831 2 года назад
well explained !
@bobroccoli1289
@bobroccoli1289 7 месяцев назад
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?
@syedhabeebuddin101
@syedhabeebuddin101 3 года назад
thanks man !
@user-ql7tr2dn5b
@user-ql7tr2dn5b 10 месяцев назад
tq soooooooooooooooooooooooooooooooooooooooooooooooooooo much you helped me lot
@sathvikreddy4807
@sathvikreddy4807 11 месяцев назад
thanks
@michelecorc
@michelecorc Год назад
omg finally i understand, thx neso
@Hutero
@Hutero Год назад
holy this is amazing, THANKS ALOT
@user-vn3qx9tt4u
@user-vn3qx9tt4u Месяц назад
Thank you for making me understand ! Even in Korea, I'm watching this ~~ ;)
@l6e6i6n
@l6e6i6n 2 года назад
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
@user-kh7yw7ux7o
@user-kh7yw7ux7o Год назад
thanks a lot ❤
@danielleananga7743
@danielleananga7743 6 месяцев назад
you guys are life savers😭😭
@vamshireddy5370
@vamshireddy5370 2 года назад
Superb
@user-vm7ve9oi5s
@user-vm7ve9oi5s Год назад
Just amazing one
@dianafarhat9479
@dianafarhat9479 11 месяцев назад
Can you please explain why the solution doesn't work on modern computer architectures?
@aravindv936
@aravindv936 3 года назад
Will neso academy upload electrical machines topic?
@chandramouli297
@chandramouli297 23 дня назад
Wonder explanation...
@taniyabhagat4315
@taniyabhagat4315 11 месяцев назад
bestest explanation ever on youtube🤩
@ankursharma8973
@ankursharma8973 Год назад
my teacher took 4 hours of lectures and i didn't get crap. she must watch this video
@bumblebore_13
@bumblebore_13 Год назад
Mind blowing!!!!
@peterlearnsCS
@peterlearnsCS 2 месяца назад
Thank you, well-explained! Be humble! 😅
@saurabhbhargava6290
@saurabhbhargava6290 Год назад
"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.
@ahmetkarakartal9563
@ahmetkarakartal9563 Год назад
thank you so muchhhhh
@farhanbajwa4954
@farhanbajwa4954 6 месяцев назад
This algorithm is strange, providing the solution that shared resources cannot access by more then one process at a time, based on variables that are shared and accessed by both processes at the same time, variables such as flag and turn.
@rohitkandula8493
@rohitkandula8493 8 месяцев назад
From 12:42 watch for detail explanation ~~~🫶🔥🔥
@iosifpuha6114
@iosifpuha6114 2 месяца назад
Neso Academy: a name, a guarantee
@sathvikbrao
@sathvikbrao Год назад
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
Далее
Test and Set Lock
19:01
Просмотров 217 тыс.
Semaphores
22:51
Просмотров 445 тыс.
Happy 4th of July 😂
00:12
Просмотров 21 млн
skibidi toilet 76 (part 1)
03:10
Просмотров 12 млн
ПОЮ ЛЕТНИЕ ПЕСНИ🌞
3:16:55
Просмотров 1,7 млн
Peterson's Solution for critical section problem
21:42
Monitors
13:46
Просмотров 183 тыс.
But, what is Virtual Memory?
20:11
Просмотров 227 тыс.
The Critical-Section Problem
13:50
Просмотров 296 тыс.
The Dining Philosophers Problem
20:16
Просмотров 308 тыс.
The Definition of Python
12:56
Просмотров 78 тыс.
Context Switch
10:34
Просмотров 333 тыс.
Happy 4th of July 😂
00:12
Просмотров 21 млн