mirror of https://github.com/golang/go.git
runtime: fix typo of pushBackAll
Fixes: #49081 Change-Id: Ie6742f1e7a60c2d92ce1283bcfaa3eac521440a1 Reviewed-on: https://go-review.googlesource.com/c/go/+/357629 Reviewed-by: Daniel Martí <mvdan@mvdan.cc> Trust: Daniel Martí <mvdan@mvdan.cc> Trust: Cherry Mui <cherryyz@google.com>
This commit is contained in:
parent
6ec9a1da2d
commit
02a36668aa
|
|
@ -6123,7 +6123,7 @@ func (q *gQueue) pushBack(gp *g) {
|
|||
q.tail.set(gp)
|
||||
}
|
||||
|
||||
// pushBackAll adds all Gs in l2 to the tail of q. After this q2 must
|
||||
// pushBackAll adds all Gs in q2 to the tail of q. After this q2 must
|
||||
// not be used.
|
||||
func (q *gQueue) pushBackAll(q2 gQueue) {
|
||||
if q2.tail == 0 {
|
||||
|
|
|
|||
Loading…
Reference in New Issue