dcrd icon indicating copy to clipboard operation
dcrd copied to clipboard

multi: Use atomic types in exported modules.

Open jholdstock opened this issue 2 years ago • 5 comments

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.

jholdstock avatar Feb 13 '23 15:02 jholdstock