lidavidm commented on issue #1297: URL: https://github.com/apache/arrow-go/issues/1297#issuecomment-5579080928
I believe it's not safe to share a Go-allocated buffer with C anyways (at least persistently, without pinning). https://pkg.go.dev/cmd/cgo#hdr-Passing_pointers As the referenced issue states, you should use mallocator for this, or you would need an allocator that also pins buffers. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
