atomic
atomic copied to clipboard
Wrapper types for sync/atomic which enforce atomic access
Since the `go1.19` update, there are lots of duplicate functionality between this package and `sync/atomic`. This duplication is currently needed because `go1.18` is still supported. `sync/atomic` has the following types...
panic using the uatomic.Duration Store on a 32-bit system ``` panic: unaligned 64-bit atomic operation goroutine 132 [running]: runtime/internal/atomic.panicUnaligned() /home/ubuntu/BMI-HI3521A/go/src/runtime/internal/atomic/unaligned.go:8 +0x24 runtime/internal/atomic.Store64(0x45720ac, 0x3b9aca00) /home/ubuntu/BMI-HI3521A/go/src/runtime/internal/atomic/atomic_arm.s:301 +0x14 go.uber.org/atomic.(*Int64).Store(...) /StreamPlugins/gopath/pkg/mod/go.uber.org/[email protected]/int64.go:75 go.uber.org/atomic.(*Duration).Store(...) /StreamPlugins/gopath/pkg/mod/go.uber.org/[email protected]/duration.go:55 ```
Tag `v1.9.0` has support for `go 1.13` (from go mod file) and in `v1.10.0` it was changed to `go 1.18`. Isn't this a breaking change? I want to upgrade dependencies...
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.1 to 4.1.2. Release notes Sourced from actions/checkout's releases. v4.1.2 We are investigating the following issue with this release and have rolled-back the v4 tag to point...
Bumps [actions/cache](https://github.com/actions/cache) from 4.0.0 to 4.0.1. Release notes Sourced from actions/cache's releases. v4.0.1 What's Changed Update README.md by @yacaovsnc in actions/cache#1304 Update examples by @yacaovsnc in actions/cache#1305 Update actions/cache publish...
Bumps [fossas/fossa-action](https://github.com/fossas/fossa-action) from 1.3.1 to 1.3.3. Release notes Sourced from fossas/fossa-action's releases. v1.3.3 Add support for passing a --project argument to fossa. v1.3.2 Switch action to use node20 before GH...
Bumps [honnef.co/go/tools](https://github.com/dominikh/go-tools) from 0.4.6 to 0.4.7. Release notes Sourced from honnef.co/go/tools's releases. Staticcheck 2023.1.7 (v0.4.7) This release fixes some minor issues in Staticcheck’s intermediate representation. Furthermore, it improves the way...
This PR updates the comments in generated files to match the standard Go regular expression: ``` ^// Code generated .* DO NOT EDIT\.$ ``` For more information, refer to golang/go#13560...
Very minor thing: but here an example Float64 (same thing for Float32): `CAS ` deprecated https://github.com/uber-go/atomic/blob/master/float64_ext.go#L49 Use of `CAS` (same file) https://github.com/uber-go/atomic/blob/master/float64_ext.go#L35 Extra note: CAS is implemented by using the...
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 3.1.5 to 4.1.0. Release notes Sourced from codecov/codecov-action's releases. v4.1.0 What's Changed fix: set safe directory by @thomasrockhu-codecov in codecov/codecov-action#1304 build(deps): bump github/codeql-action from 3.24.3 to 3.24.5...