{"type":"rich","version":"1.0","provider_name":"Transistor","provider_url":"https://transistor.fm","author_name":"Backend Interview Crashcasts","title":"Semaphores vs. Mutexes: A Deep Dive into Synchronization Primitives","html":"<iframe width=\"100%\" height=\"180\" frameborder=\"no\" scrolling=\"no\" seamless src=\"https://share.transistor.fm/e/925b33c0\"></iframe>","width":"100%","height":180,"duration":675,"description":"Dive into the world of synchronization primitives with an in-depth comparison of semaphores and mutexes in operating systems and concurrent programming.\n\nIn this episode, we explore:\n\nThe fundamental differences between semaphores and mutexes, and when to use each\nReal-world applications, from managing hotel rooms to coordinating chefs and waiters\nCommon pitfalls like deadlocks and priority inversion, and how to avoid them\nChallenging scenarios, such as handling unexpected thread termination\n\n\nTune in for expert insights and practical tips to master these essential tools in concurrent programming and ace your next operating systems interview!\n\nWant to dive deeper into this topic? Check out our blog post here: Read more","thumbnail_url":"https://img.transistorcdn.com/LToqc_kBbpkFzorh9zBW0NZ8m0EH-Gf8hf1RtGCOWfM/rs:fill:0:0:1/w:400/h:400/q:60/mb:500000/aHR0cHM6Ly9pbWct/dXBsb2FkLXByb2R1/Y3Rpb24udHJhbnNp/c3Rvci5mbS82MDI4/M2M0YjRlZjZmMjRj/OGU5NWQwZTkyZWFi/M2I2MC5wbmc.webp","thumbnail_width":300,"thumbnail_height":300}