diff --git a/src/runtime/proc.go b/src/runtime/proc.go index 59160c6525..8f1a443945 100644 --- a/src/runtime/proc.go +++ b/src/runtime/proc.go @@ -529,8 +529,8 @@ var ( allglock mutex allgs []*g - // allglen and allgptr are atomic variables that contain len(allg) and - // &allg[0] respectively. Proper ordering depends on totally-ordered + // allglen and allgptr are atomic variables that contain len(allgs) and + // &allgs[0] respectively. Proper ordering depends on totally-ordered // loads and stores. Writes are protected by allglock. // // allgptr is updated before allglen. Readers should read allglen