pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/SuboptimalEng/cpp-tutorials/tree/main/039-threads-mutex-data-race

heet" href="https://github.githubassets.com/assets/repository-3aa75d4cd2374bb7.css" /> cpp-tutorials/039-threads-mutex-data-race at main · SuboptimalEng/cpp-tutorials · GitHub
Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

README.md

Video Overview

  • Previously, we talked about mutex + data races
  • What exactly is a data race?
    • Read unoptimized assembly code
  • Why do we have a data race on 1 line of assembly?
    • Read optimized assembly code
    • Macro (assembly) ops vs micro (CPU) ops

Titles

  • What ACTUALLY Causes a Data Race in C++ (It's not assembly)

  • Why counter++ Causes a Data Race Even When It's Optimized in C++

  • Why counter++ Causes a Data Race Condition When Optimized in C++

  • How One Line of C++ Code Can Cause a Data Race

  • What ACTUALLY Happens in C++ Data Race? (CPU Micro Ops)

  • What ACTUALLY Causes a Data Race in C++ (Hint: It's not the assembly)

References

  • ChatGPT and Gemini
pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy