aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/runtime2.go
diff options
context:
space:
mode:
authorAustin Clements <austin@google.com>2019-11-18 20:07:11 -0500
committerAustin Clements <austin@google.com>2019-11-20 17:13:36 +0000
commit91bb1d734ecb44f687f3549ace10ee8f70e977a8 (patch)
treedd4532ffc1b918485f140e4c7c8246f73d46624a /src/runtime/runtime2.go
parent9c6f6409ada8737bf159e7e8eb952f0541e89860 (diff)
downloadgo-91bb1d734ecb44f687f3549ace10ee8f70e977a8.tar.gz
go-91bb1d734ecb44f687f3549ace10ee8f70e977a8.zip
runtime: move m.thread to mOS
This field is only used on Windows. Change-Id: I12d4df09261f8e7ad54c2abd7beda669af28c8e7 Reviewed-on: https://go-review.googlesource.com/c/go/+/207778 Run-TryBot: Austin Clements <austin@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> Reviewed-by: Cherry Zhang <cherryyz@google.com> Reviewed-by: Alex Brainman <alex.brainman@gmail.com>
Diffstat (limited to 'src/runtime/runtime2.go')
-rw-r--r--src/runtime/runtime2.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/runtime/runtime2.go b/src/runtime/runtime2.go
index fe1147e247..3f9e51c528 100644
--- a/src/runtime/runtime2.go
+++ b/src/runtime/runtime2.go
@@ -522,8 +522,7 @@ type m struct {
waittraceskip int
startingtrace bool
syscalltick uint32
- thread uintptr // thread handle
- freelink *m // on sched.freem
+ freelink *m // on sched.freem
// these are here because they are too large to be on the stack
// of low-level NOSPLIT functions.