]> Cypherpunks repositories - gostls13.git/commitdiff
runtime: gofmt
authorCherry Mui <cherryyz@google.com>
Thu, 20 Oct 2022 20:48:21 +0000 (16:48 -0400)
committerCherry Mui <cherryyz@google.com>
Fri, 21 Oct 2022 16:23:01 +0000 (16:23 +0000)
Change-Id: Ib9bea9e42d8e99b83dc64450baf9fede15156514
Reviewed-on: https://go-review.googlesource.com/c/go/+/444615
Run-TryBot: Cherry Mui <cherryyz@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Michael Pratt <mpratt@google.com>
src/runtime/runtime2.go

index 0392f2968fe2d5ec513215c48231349f59c634a1..ceb6ff66e286fdb6ffe461578bc61bfad9c88b6a 100644 (file)
@@ -518,9 +518,9 @@ const (
 
 // Values for m.freeWait.
 const (
-       freeMStack = 0  // M done, free stack and reference.
-       freeMRef   = 1  // M done, free reference.
-       freeMWait  = 2  // M still in use.
+       freeMStack = 0 // M done, free stack and reference.
+       freeMRef   = 1 // M done, free reference.
+       freeMWait  = 2 // M still in use.
 )
 
 type m struct {
@@ -552,8 +552,8 @@ type m struct {
        blocked       bool // m is blocked on a note
        newSigstack   bool // minit on C thread called sigaltstack
        printlock     int8
-       incgo         bool   // m is executing a cgo call
-       isextra       bool   // m is an extra m
+       incgo         bool          // m is executing a cgo call
+       isextra       bool          // m is an extra m
        freeWait      atomic.Uint32 // Whether it is safe to free g0 and delete m (one of freeMRef, freeMStack, freeMWait)
        fastrand      uint64
        needextram    bool