Look at go/cmd/internal/par #5
Unanswered
earthboundkid
asked this question in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Some good ideas in there: https://pkg.go.dev/cmd/go/internal/par
Looks like par.Cache is a lazy sync.Once map, par.Queue is flowmatic.Do, and par.Work is flowmatic.Each, except you can add work to it after starting, like flowmatic.ManageTasks.
Beta Was this translation helpful? Give feedback.
All reactions