Jimmy Tee / Publications
Forum
Atomic Global Variables are not atomic
I have a robot of my own construction working on several charts at the same time, and I wanted all of them to write to a common log file. The problem was that it wouldn't wait till the others had finished writing before starting to write, so the log file was full of partially overwritten lines. I