MENU

Fun & Interesting

Safety and Speed Issues with Threads. (pthreads, mutex, locks)

Jacob Sorber 77,700 6 years ago
Video Not Working? Fix It Now

Patreon ➤ https://www.patreon.com/jacobsorber Courses ➤ https://jacobsorber.thinkific.com Website ➤ https://www.jacobsorber.com --- Safety and Speed Issues with Threads. (pthreads, mutex, locks) // People often get really excited about threads when they first learn, but threads come with some challenges. This video talks about some of those challenges, like race conditions, and how to keep things sane using synchronization primitives like mutex locks. Prior pthreads videos. https://youtu.be/uA8X5zNOGw8 https://youtu.be/It0OFCbbTJE Sockets example https://youtu.be/bdIiTxtMaKA *** Welcome! I post videos that help you learn to program and become a more confident software developer. I cover beginner-to-advanced systems topics ranging from network programming, threads, processes, operating systems, embedded systems and others. My goal is to help you get under-the-hood and better understand how computers work and how you can use them to become stronger students and more capable professional developers. About me: I'm a computer scientist, electrical engineer, researcher, and teacher. I specialize in embedded systems, mobile computing, sensor networks, and the Internet of Things. I teach systems and networking courses at Clemson University, where I also lead the PERSIST research lab. More about me and what I do: https://www.jacobsorber.com https://people.cs.clemson.edu/~jsorber/ http://persist.cs.clemson.edu/ To Support the Channel: + like, subscribe, spread the word + contribute via Patreon --- [https://www.patreon.com/jacobsorber] Source code is also available to Patreon supporters. --- [https://jsorber-youtube-source.herokuapp.com/]

Comment