aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/os_darwin.go
diff options
context:
space:
mode:
authorMatthew Dempsky <mdempsky@google.com>2016-02-22 11:32:56 -0800
committerMatthew Dempsky <mdempsky@google.com>2016-02-22 21:15:50 +0000
commita4b833940da77449afd95dc95f8596bae4fa1621 (patch)
tree546ed287cf95ab00d3fa32f3fc2dda94a01b8534 /src/runtime/os_darwin.go
parent756ea30eb05357b02af1ac512920ed647d4ee350 (diff)
downloadgo-a4b833940da77449afd95dc95f8596bae4fa1621.tar.gz
go-a4b833940da77449afd95dc95f8596bae4fa1621.zip
runtime: move machport into darwin's mOS
It's not needed on other OSes. Change-Id: Ia6b13510585392a7062374806527d33876beba2a Reviewed-on: https://go-review.googlesource.com/19818 Run-TryBot: Matthew Dempsky <mdempsky@google.com> Reviewed-by: David Crawshaw <crawshaw@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
Diffstat (limited to 'src/runtime/os_darwin.go')
-rw-r--r--src/runtime/os_darwin.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/runtime/os_darwin.go b/src/runtime/os_darwin.go
index b8257768ac..78557759cc 100644
--- a/src/runtime/os_darwin.go
+++ b/src/runtime/os_darwin.go
@@ -7,6 +7,7 @@ package runtime
import "unsafe"
type mOS struct {
+ machport uint32 // return address for mach ipc
waitsema uint32 // semaphore for parking on locks
}