]> Cypherpunks repositories - gostls13.git/commit
runtime: rename _p_ to pp
authorMichael Pratt <mpratt@google.com>
Tue, 9 Feb 2021 20:48:41 +0000 (15:48 -0500)
committerMichael Pratt <mpratt@google.com>
Tue, 2 Aug 2022 18:51:06 +0000 (18:51 +0000)
commit5e8d261918e1cd9a731ec8688cc969cebcc9ff39
tree8cb573953cdd75a0e41eb40e662faa1ead99fccb
parent0ad2ec6596afc51341fa3059528d89a0508956ab
runtime: rename _p_ to pp

_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 _p_ with pp. These are all
trivial replacements (i.e., no conflicts). That said, there are several
functions that refer to two different Ps at once. There the naming
convention is generally that pp refers to the local P, and p2 refers to
the other P we are accessing.

Change-Id: I205b801be839216972e7644b1fbeacdbf2612859
Reviewed-on: https://go-review.googlesource.com/c/go/+/306674
Reviewed-by: Austin Clements <austin@google.com>
Run-TryBot: Michael Pratt <mpratt@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
src/runtime/export_test.go
src/runtime/mgc.go
src/runtime/mgcmark.go
src/runtime/mgcpacer.go
src/runtime/mwbbuf.go
src/runtime/proc.go
src/runtime/trace.go