MCPcopy Create free account
hub / github.com/celzero/midway / barrier

Function barrier

main.go:106–110  ·  view source on GitHub ↗
(count int)

Source from the content-addressed store, hash-verified

104}
105
106func barrier(count int) *sync.WaitGroup {
107 w := &sync.WaitGroup{}
108 w.Add(count)
109 return w
110}
111
112func ko(err error) {
113 if err != nil {

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected