Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dc0d/workerpool
/ initWorker
Method
initWorker
workerpool.go:229–235 ·
view source on GitHub ↗
(wg *sync.WaitGroup)
Source
from the content-addressed store, hash-verified
227
}
228
229
func
(w *worker) initWorker(wg *sync.WaitGroup) {
230
if
stopped(w.poolQuit) {
231
return
232
}
233
234
w.begin(wg)
235
}
236
237
type
workerBuilder worker
238
Callers
2
New
Function · 0.80
Expand
Method · 0.80
Calls
2
begin
Method · 0.95
stopped
Function · 0.85
Tested by
no test coverage detected