Commit 674dddfe by Ian Lance Taylor

runtime: no escape for some functions on AIX

    
    Reviewed-on: https://go-review.googlesource.com/88236

From-SVN: r256874
parent 219f9bad
cf33aedb66b5121708f5640443c1336080a47fe5 8195b62d353026256037fa44409c4ad95762e6b7
The first line of this file holds the git revision number of the last The first line of this file holds the git revision number of the last
merge done from the gofrontend repository. merge done from the gofrontend repository.
...@@ -34,12 +34,15 @@ const _PS_DELETE = 0x2 ...@@ -34,12 +34,15 @@ const _PS_DELETE = 0x2
//extern pollset_create //extern pollset_create
func pollset_create(maxfd int32) pollset_t func pollset_create(maxfd int32) pollset_t
//go:noescape
//extern pollset_ctl //extern pollset_ctl
func pollset_ctl(ps pollset_t, pollctl_array *poll_ctl, array_length int32) int32 func pollset_ctl(ps pollset_t, pollctl_array *poll_ctl, array_length int32) int32
//go:noescape
//extern pollset_poll //extern pollset_poll
func pollset_poll(ps pollset_t, polldata_array *pollfd, array_length int32, timeout int32) int32 func pollset_poll(ps pollset_t, polldata_array *pollfd, array_length int32, timeout int32) int32
//go:noescape
//extern pipe //extern pipe
func libc_pipe(fd *int32) int32 func libc_pipe(fd *int32) int32
......
...@@ -10,6 +10,7 @@ package runtime ...@@ -10,6 +10,7 @@ package runtime
import "unsafe" import "unsafe"
//go:noescape
func read(fd int32, p unsafe.Pointer, n int32) int32 func read(fd int32, p unsafe.Pointer, n int32) int32
func closefd(fd int32) int32 func closefd(fd int32) int32
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment