1
0
mirror of https://github.com/golang/go synced 2024-11-26 14:36:52 -07:00

runtime: fix typo in proc.go

This commit is contained in:
Guilherme Souza 2021-05-11 18:29:26 -03:00 committed by GitHub
parent 9995c6b50a
commit 7d41e1bcb9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3136,7 +3136,7 @@ func checkIdleGCNoP() (*p, *g) {
// an available P and available worker G.
//
// We can attempt to acquire these in either order, though both have
// synchonization concerns (see below). Workers are almost always
// synchronization concerns (see below). Workers are almost always
// available (see comment in findRunnableGCWorker for the one case
// there may be none). Since we're slightly less likely to find a P,
// check for that first.