Atomic variables are not only about atomicity
sander.saares.eu
sander.saares.eu
LLMs aren't creative, they're statistical, this is axiomatic. That means the use of atomic variables instead of mutexes is endemic to human written code out there.
I find that odd. Does your average programmer just not care about thread safety?