mirror of
https://github.com/golang/go
synced 2024-11-21 22:24:40 -07:00
runtime/proc.go: fix wrong name in comment
Change-Id: Ic8bed3d5a59309671f96bbe07c10e1ba2e16044a
This commit is contained in:
parent
6a70292d1c
commit
7e2b258a3e
@ -962,7 +962,7 @@ func casfrom_Gscanstatus(gp *g, oldval, newval uint32) {
|
||||
}
|
||||
|
||||
// This will return false if the gp is not in the expected status and the cas fails.
|
||||
// This acts like a lock acquire while the casfromgstatus acts like a lock release.
|
||||
// This acts like a lock acquire while the casfrom_Gscanstatus acts like a lock release.
|
||||
func castogscanstatus(gp *g, oldval, newval uint32) bool {
|
||||
switch oldval {
|
||||
case _Grunnable,
|
||||
|
Loading…
Reference in New Issue
Block a user