go/loader: update comment
CL 18580 (Jan 12) made the loader cache non-blocking. Change-Id: I8f280dbd405bd9b19a201191a4a987f13d862300 Reviewed-on: https://go-review.googlesource.com/19830 Reviewed-by: Robert Griesemer <gri@golang.org>
This commit is contained in:
parent
3f95c66345
commit
9aae8f06b5
|
@ -160,7 +160,7 @@ package loader
|
||||||
// parallel, where "unrelated" means not ordered by the partial order of
|
// parallel, where "unrelated" means not ordered by the partial order of
|
||||||
// the import dependency graph.
|
// the import dependency graph.
|
||||||
//
|
//
|
||||||
// We use a concurrency-safe blocking cache (importer.imported) to
|
// We use a concurrency-safe non-blocking cache (importer.imported) to
|
||||||
// record the results of type-checking, whether success or failure. An
|
// record the results of type-checking, whether success or failure. An
|
||||||
// entry is created in this cache by startLoad the first time the
|
// entry is created in this cache by startLoad the first time the
|
||||||
// package is imported. The first goroutine to request an entry becomes
|
// package is imported. The first goroutine to request an entry becomes
|
||||||
|
|
Loading…
Reference in New Issue