diff options
| author | Feoramund <161657516+Feoramund@users.noreply.github.com> | 2024-09-08 15:27:28 -0400 |
|---|---|---|
| committer | Feoramund <161657516+Feoramund@users.noreply.github.com> | 2024-09-09 16:19:14 -0400 |
| commit | 9d6f71fd2ed0a290781e547c7573e86010ff660f (patch) | |
| tree | 2dbf5114f14d0545a53804e70d91a3ea04e0b8e4 /core/thread | |
| parent | d783bca2979db5955885ee6b2a06f20f8a847582 (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