MCPcopy
hub / github.com/mao888/golang-guide / Done

Method Done

golang/go-study/exercise/Go/并发/并发控制.go:52–55  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

50 s.c <- struct{}{}
51}
52func (s *limitSyncGroup) Done() {
53 <-s.c
54 s.wg.Done()
55}
56func (s *limitSyncGroup) Wait() {
57 s.wg.Wait()
58}

Callers 15

receiveJobChainFunction · 0.80
mainFunction · 0.80
helloFunction · 0.80
hello2Function · 0.80
demo1Function · 0.80
demo01修改Function · 0.80
addFunction · 0.80
mainFunction · 0.80
mainFunction · 0.80
helloFunction · 0.80
addFunction · 0.80
writeWithLockFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected