Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
}
52
func
(s *limitSyncGroup) Done() {
53
<-s.c
54
s.wg.Done()
55
}
56
func
(s *limitSyncGroup) Wait() {
57
s.wg.Wait()
58
}
Callers
15
receiveJobChain
Function · 0.80
main
Function · 0.80
hello
Function · 0.80
hello2
Function · 0.80
demo1
Function · 0.80
demo01修改
Function · 0.80
add
Function · 0.80
main
Function · 0.80
main
Function · 0.80
hello
Function · 0.80
add
Function · 0.80
writeWithLock
Function · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected