►Full Series Playlist: • Modern C++ (cpp) Concurrency
►Find full courses on: https://courses.mshah.io/
►Join as Member to Support the channel: / @mikeshah
►Git Repo: https://github.com/MikeShah/moderncpp...
►Lesson Description: In this lesson I show you how to use the thread sanitzer provided in both gcc and clang compilers. Using the thread sanitizers can help save you time debugging programs at scale for thread related errors.
Some helpful links to documentation:
1. https://gcc.gnu.org/onlinedocs/gcc/In...
2. https://clang.llvm.org/docs/ThreadSan...
00:00 Recap on threaded code with a data race
1:39 Introduction to thread sanitizers
3:14 g++ thread sanitizer usage
5:20 clang thread sanitizer usage
6:10 Conclusion, use your tools!
►YouTube Channel: / mikeshah
►Please like and subscribe to help the channel!
Watch video Example of gcc and clang thread sanitizer to detect data race - Introduction to Concurrency in C++ online, duration hours minute second in high quality that is uploaded to the channel Mike Shah 26 November 2021. Share the link to the video on social media so that your subscribers and friends will also watch this video. This video clip has been viewed 5,220 times and liked it 163 visitors.