🤦🏽♀️ Thanks for explaining, my brain must have corrected the race condition.
Regarding threads: I have had good experience with using thread safe queues everywhere to exchange data between threads, it’s the right tool in many cases, but I doubt queues to be useful when coding for performance.
Best advice I can give is to read all the comments explaining, or do like me and accept that there are many reasons for some memes/jokes to pass us by.