diff options
author | Gusted <williamzijl7@hotmail.com> | 2022-04-27 15:32:04 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-27 10:32:04 -0500 |
commit | b5383590de41b4311663e1d81ab5892054b6ce94 (patch) | |
tree | 9e5d640544f7eb8459fc957525c8d7df5be9e582 /webpack.config.js | |
parent | af09136b95486e41ebd458e5209fd53a3b308447 (diff) | |
download | gitea-b5383590de41b4311663e1d81ab5892054b6ce94.tar.gz gitea-b5383590de41b4311663e1d81ab5892054b6ce94.zip |
Fix 64-bit atomic operations on 32-bit machines (#19531)
- Doing 64-bit atomic operations on 32-bit machines is a bit tricky by
golang, as they can only be done under certain set of
conditions(https://pkg.go.dev/sync/atomic#pkg-note-BUG).
- This PR fixes such case whereby the conditions weren't met, it moves
the int64 to the first field of the struct, which will 64-bit operations
happening on this property on 32-bit machines.
- Resolves #19518
Diffstat (limited to 'webpack.config.js')
0 files changed, 0 insertions, 0 deletions