diff options
| author | Jes Cok <xigua67damn@gmail.com> | 2025-10-28 10:59:33 +0000 |
|---|---|---|
| committer | Keith Randall <khr@golang.org> | 2025-10-28 09:24:16 -0700 |
| commit | d5953185d5ef5a4d1572b526474117d3a5220193 (patch) | |
| tree | 20ce29c25dde7e6c42dd06ce2c43fc76ecb0d798 /src/runtime/runtime2.go | |
| parent | 12c8d14d947ba922e19e3360ce5decd2bb848257 (diff) | |
| download | go-d5953185d5ef5a4d1572b526474117d3a5220193.tar.xz | |
runtime: amend comments a bit
Change-Id: I3cabc57f6b8f803f966221f9583a5edb8828ca12
GitHub-Last-Rev: 57569ace50ab8ce3d39e17ddf25ad161dffcc19d
GitHub-Pull-Request: golang/go#76086
Reviewed-on: https://go-review.googlesource.com/c/go/+/715600
Reviewed-by: Michael Pratt <mpratt@google.com>
Reviewed-by: Jorropo <jorropo.pgm@gmail.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Keith Randall <khr@google.com>
Diffstat (limited to 'src/runtime/runtime2.go')
| -rw-r--r-- | src/runtime/runtime2.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/runtime2.go b/src/runtime/runtime2.go index eaf24fe908..721fae0b28 100644 --- a/src/runtime/runtime2.go +++ b/src/runtime/runtime2.go @@ -1352,7 +1352,7 @@ var ( // be atomic. Length may change at safe points. // // Each P must update only its own bit. In order to maintain - // consistency, a P going idle must the idle mask simultaneously with + // consistency, a P going idle must set the idle mask simultaneously with // updates to the idle P list under the sched.lock, otherwise a racing // pidleget may clear the mask before pidleput sets the mask, // corrupting the bitmap. |
