github.com/ansiwen/ptrguard (go): Package ptrguard allows to pin a Go object (in memory allocated by the Go runtime), so that it will not be touched by the garbage collector until it is unpinned again.  Example how to use PtrGuard with a C allocated iovec array.   Example how to use PtrGuard with a Go allocated iovec slice.
Keywords: cgo|cgo-bindings|go|golang