Summary
Full Transcript
This video provides an engaging glimpse of Thread Scheduling Problem, we have also discussed Peterson's Solution and Mutex/Locks. There is a lot to learn, Keep in mind “ Mnn bhot karega k chor yrr apne se nahi hoga ya maza nahi aara, Just ask 1 question “ Why I started ? “ [For 20% Discount ] Visit Coding Ninjas: https://bit.ly/3cfdKTe Notes Link: https://drive.google.com/file/d/1KjwOEMZ797GoeasdHjjgDMcx6SQC0auX/view?usp=sharing Slides: https://drive.google.com/file/d/1Fket-tBNNX8h-zswUJf8jpj9pkontPd6/view?usp=sharing Discord Server Link: https://discord.gg/feSQvVXMrd Do provide you feedback in the comments, we are going to make it best collectively. Connect with Lakshay: Instagram: https://www.instagram.com/lakshayk12/?hl=en LinkedIn: https://in.linkedin.com/in/lakshay-kumar-368a06146 Connect with Babbar here: Instagram: https://www.instagram.com/lovebabbar1/ Twitter: https://twitter.com/lovebabbar3 Telegram Group Link: Love Babbar CODE HELP https://telegram.me/lovebabbercodehelp Timestamps 00:00 - Introduction 01:48 - Promotion 02:48 - Critical Section and Race condition 11:02 - Hands-on example of Race condition 13:26 - Solution to overcome Race condition 16:10 - Hands-on example to overcome Race condition using locks 18:00 - Conditions a Solution should have to solve Critical-section problem 21:20 - Can we use single flag to overcome Race condition 24:55 - Peterson's solution 29:30 - Locks and its disadvantages My Editor: https://www.instagram.com/rishu.rsingh/?hl=en Intro Sequence: We have bought all the required Licenses of the Audio, Video & Animation used. #OSBusted #Lakshay
