mirror of
https://github.com/golang/go
synced 2024-11-18 19:54:44 -07:00
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
|
||||
// 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
|
||||
// entry is created in this cache by startLoad the first time the
|
||||
// package is imported. The first goroutine to request an entry becomes
|
||||
|
Loading…
Reference in New Issue
Block a user