aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/os_plan9.go
diff options
context:
space:
mode:
authorMatthew Dempsky <mdempsky@google.com>2015-10-21 18:36:05 -0700
committerMatthew Dempsky <mdempsky@google.com>2015-11-13 02:58:12 +0000
commitec9aae772c6da242fd0c1ef2d71ddb5c139d8f61 (patch)
tree1b7087961870a9f27a7dc9b5dc936438a101b4d8 /src/runtime/os_plan9.go
parentd42cc10283b611eb6799a3d46593777dc2174f34 (diff)
downloadgo-ec9aae772c6da242fd0c1ef2d71ddb5c139d8f61.tar.gz
go-ec9aae772c6da242fd0c1ef2d71ddb5c139d8f61.zip
runtime: move m's OS-specific semaphore fields into mOS
Allows removing fields that aren't relevant to a particular OS or changing their types to match the underlying OS system calls they'll be used for. Change-Id: I5cea89ee77b4e7b985bff41337e561887c3272ff Reviewed-on: https://go-review.googlesource.com/16176 Reviewed-by: Ian Lance Taylor <iant@golang.org> Run-TryBot: Matthew Dempsky <mdempsky@google.com>
Diffstat (limited to 'src/runtime/os_plan9.go')
-rw-r--r--src/runtime/os_plan9.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/runtime/os_plan9.go b/src/runtime/os_plan9.go
index 3b3e940cbc..6e6a55e636 100644
--- a/src/runtime/os_plan9.go
+++ b/src/runtime/os_plan9.go
@@ -7,8 +7,9 @@ package runtime
import "unsafe"
type mOS struct {
- notesig *int8
- errstr *byte
+ waitsemacount uint32
+ notesig *int8
+ errstr *byte
}
func closefd(fd int32) int32