Open junchih opened 4 years ago
the converting from uintptr to unsafe.Pointer is not safe, please refer to the golang document for more detail.
uintptr
unsafe.Pointer
https://golang.org/pkg/unsafe/#Pointer
this commit has fixed my unsafe pointer fatal errors in UTs when running using -race flag
-race
the converting from
uintptr
tounsafe.Pointer
is not safe, please refer to the golang document for more detail.https://golang.org/pkg/unsafe/#Pointer