aboutsummaryrefslogtreecommitdiff
path: root/core/thread
diff options
context:
space:
mode:
authorFeoramund <161657516+Feoramund@users.noreply.github.com>2024-09-08 15:27:28 -0400
committerFeoramund <161657516+Feoramund@users.noreply.github.com>2024-09-09 16:19:14 -0400
commit9d6f71fd2ed0a290781e547c7573e86010ff660f (patch)
tree2dbf5114f14d0545a53804e70d91a3ea04e0b8e4 /core/thread
parentd783bca2979db5955885ee6b2a06f20f8a847582 (diff)
Fix `sync.Benaphore`
The calls to `atomic_add*` return the value before adding, not after, so the previous code was causing the occasional data race.
Diffstat (limited to 'core/thread')
0 files changed, 0 insertions, 0 deletions