mirror of
https://github.com/golang/go
synced 2024-11-18 19:54:44 -07:00
The Go programming language
4436e54754
In some cases walkFn is being called after the fastWalk function has returned. This often happens when an error was encountered early on in scanning directories with many entries. It is caused by fastWalk not waiting for its workers to complete their work. A sync.WaitGroup is used to wait for all workers to finish when the function returns. Updates golang/go#16399 Change-Id: I695d30c18e4878b789520b9d8a650f9688d896ac Reviewed-on: https://go-review.googlesource.com/40092 Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> |
||
---|---|---|
benchmark/parse | ||
blog | ||
cmd | ||
container/intsets | ||
cover | ||
go | ||
godoc | ||
imports | ||
playground | ||
present | ||
refactor | ||
third_party | ||
.gitattributes | ||
.gitignore | ||
AUTHORS | ||
codereview.cfg | ||
CONTRIBUTING.md | ||
CONTRIBUTORS | ||
LICENSE | ||
PATENTS | ||
README |
This subrepository holds the source for various packages and tools that support the Go programming language. Some of the tools, godoc and vet for example, are included in binary Go distributions. Others, including the Go guru and the test coverage tool, can be fetched with "go get". Packages include a type-checker for Go and an implementation of the Static Single Assignment form (SSA) representation for Go programs. To submit changes to this repository, see http://golang.org/doc/contribute.html.