dcrd
dcrd copied to clipboard
multi: Use atomic types in exported modules.
go 1.19 introduced new atomic types which hide the underlying primitive types so that all accesses are forced to use the atomic APIs. This makes the code less prone to human error and a bit less verbose.
Extracted from #3053 which was originally a repo-wide change, this PR includes just the exported modules.