sync: Proposal for barrier implementation
As discussed in the mailing list, this adds a simple barrier implementation to the sync package which enables one or more goroutines to wait for a counter to go down to zero. R=rsc, rog, r CC=golang-dev https://golang.org/cl/3770045
Showing
src/pkg/sync/waitgroup.go
0 → 100644
Please register or sign in to comment