]> Cypherpunks repositories - gostls13.git/commit
runtime: move m's OS-specific semaphore fields into mOS
authorMatthew Dempsky <mdempsky@google.com>
Thu, 22 Oct 2015 01:36:05 +0000 (18:36 -0700)
committerMatthew Dempsky <mdempsky@google.com>
Fri, 13 Nov 2015 02:58:12 +0000 (02:58 +0000)
commitec9aae772c6da242fd0c1ef2d71ddb5c139d8f61
tree1b7087961870a9f27a7dc9b5dc936438a101b4d8
parentd42cc10283b611eb6799a3d46593777dc2174f34
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>
16 files changed:
src/runtime/lock_sema.go
src/runtime/os1_darwin.go
src/runtime/os1_nacl.go
src/runtime/os1_netbsd.go
src/runtime/os1_openbsd.go
src/runtime/os1_plan9.go
src/runtime/os1_windows.go
src/runtime/os3_solaris.go
src/runtime/os_darwin.go
src/runtime/os_nacl.go
src/runtime/os_netbsd.go
src/runtime/os_openbsd.go
src/runtime/os_plan9.go
src/runtime/os_solaris.go
src/runtime/os_windows.go
src/runtime/runtime2.go