mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
runtime: fix some out of date comments and typos
Change-Id: I061057414c722c5a0f03c709528afc8554114db6 Reviewed-on: https://go-review.googlesource.com/9367 Reviewed-by: Rick Hudson <rlh@golang.org>
This commit is contained in:
parent
9a0fd97ff3
commit
33e0f3d853
2 changed files with 2 additions and 3 deletions
|
|
@ -748,7 +748,7 @@ func mstart1() {
|
|||
// safe point and execute fn on that P. If the P is not executing code
|
||||
// (it is idle or in a syscall), this will call fn(p) directly while
|
||||
// preventing the P from exiting its state. This does not ensure that
|
||||
// fn will run on every CPU executing Go code, but it act as a global
|
||||
// fn will run on every CPU executing Go code, but it acts as a global
|
||||
// memory barrier. GC uses this as a "ragged barrier."
|
||||
//
|
||||
// The caller must hold worldsema.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue