• Brad Fitzpatrick's avatar
    syscall: use unsafe.Pointer in BSD kevent · ba8c92c1
    Brad Fitzpatrick authored
    Doesn't really matter for the most part, since the runtime-integrated
    network poller uses its own kevent implementation, but for people using
    the syscall directly, we should use an unsafe.Pointer for the precise GC
    to retain the pointer arguments.
    
    Also push down unsafe.Pointer a bit further in exec_linux.go, not
    that there are any GC preemption points in the middle and sys
    is still live anyway.
    
    R=golang-codereviews, dvyukov
    CC=golang-codereviews, iant
    https://golang.org/cl/55520043
    ba8c92c1
Name
Last commit
Last update
api Loading commit data...
doc Loading commit data...
include Loading commit data...
lib Loading commit data...
misc Loading commit data...
src Loading commit data...
test Loading commit data...
.hgignore Loading commit data...
.hgtags Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README Loading commit data...
favicon.ico Loading commit data...
robots.txt Loading commit data...