]> Cypherpunks repositories - gostls13.git/commit
runtime: rename _m_ to mp [generated]
authorMichael Pratt <mpratt@google.com>
Thu, 1 Apr 2021 21:01:51 +0000 (17:01 -0400)
committerMichael Pratt <mpratt@google.com>
Tue, 26 Oct 2021 20:12:32 +0000 (20:12 +0000)
commitf8779b9e757e38810bec2284e06fea20bbf09bf4
treed3307dfc7657b0cb6e2a4d8bef2e7e44293bc217
parentb54bdd281e62a4658ea4edb5e0a6139006938c9a
runtime: rename _m_ to mp [generated]

_g_, _p_, and _m_ are primarily vestiges of the C version of the
runtime, while today we prefer Go-style variable names (generally gp,
pp, and mp).

This change replaces all remaining uses of _m_ with mp. There are very
few remaining and all replacements are trivial.

[git-generate]
cd src/runtime

rf 'mv canpanic._m_ canpanic.mp'
GOOS=solaris \
  rf 'mv semasleep._m_ semasleep.mp'
GOOS=aix GOARCH=ppc64 \
  rf 'mv semasleep._m_ semasleep.mp'

Change-Id: I83690f7b4d4dc57557963100e9a2560ff343f3e8
Reviewed-on: https://go-review.googlesource.com/c/go/+/307813
Trust: Michael Pratt <mpratt@google.com>
Run-TryBot: Michael Pratt <mpratt@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
src/runtime/os3_solaris.go
src/runtime/os_aix.go
src/runtime/panic.go