frostdb icon indicating copy to clipboard operation
frostdb copied to clipboard

Replace unsafe atomic pointers with Go 1.19 generic pointer

Open brancz opened this issue 2 years ago • 2 comments

We have a bunch of uses of unsafe atomic pointers. Go 1.19 shipped with a generic (type-safe) atomic pointer that we should now use.

https://pkg.go.dev/sync/atomic@master#Pointer

brancz avatar Aug 11 '22 15:08 brancz

Hello, @brancz! Can I work on this?

Mihai22125 avatar Aug 11 '22 17:08 Mihai22125

Go ahead!

brancz avatar Aug 11 '22 18:08 brancz

Completed in https://github.com/polarsignals/frostdb/pull/203

thorfour avatar Sep 22 '22 11:09 thorfour