]> Cypherpunks repositories - gostls13.git/commit
runtime: move darwin kevent calls to libc
authorKeith Randall <khr@golang.org>
Wed, 13 Jun 2018 15:20:23 +0000 (08:20 -0700)
committerKeith Randall <khr@golang.org>
Wed, 13 Jun 2018 18:27:15 +0000 (18:27 +0000)
commit72c29fc8cde7a02c760915e7b3e63de5502496bb
tree417206434615eaaec3701f3ca255440ecc416026
parent537fb06c5dabfc5329bd8535c63d6a0f1ccbb1b4
runtime: move darwin kevent calls to libc

kqueue, kevent, closeonexec, setitimer, with sysctl and fcntl helpers.

TODO:arm,arm64

Change-Id: I9386f377186d6ac7cb99064c524a67e0c8282eba
Reviewed-on: https://go-review.googlesource.com/118561
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
12 files changed:
src/runtime/defs_darwin.go
src/runtime/defs_darwin_386.go
src/runtime/defs_darwin_amd64.go
src/runtime/netpoll_kqueue.go
src/runtime/os_darwin.go
src/runtime/os_dragonfly.go
src/runtime/os_freebsd.go
src/runtime/os_netbsd.go
src/runtime/os_openbsd.go
src/runtime/sys_darwin.go
src/runtime/sys_darwin_386.s
src/runtime/sys_darwin_amd64.s