mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
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>
This commit is contained in:
parent
9c6f6409ad
commit
91bb1d734e
2 changed files with 3 additions and 2 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue