Closed elliotcourant closed 1 year ago
Since these values are being written in a separate go routine, it is possible for a datarace to happen since we are reading them unatomically. This just makes it so that both the reads ands writes are done atomically.
Resolves #76
You can see the original failure here: https://github.com/acaloiaro/neoq/actions/runs/6434492619/job/17473826127
Since these values are being written in a separate go routine, it is possible for a datarace to happen since we are reading them unatomically. This just makes it so that both the reads ands writes are done atomically.
Resolves #76