Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/rabbitstack/fibratus
/ close
Method
close
pkg/util/va/ws.go:171–176 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
169
}
170
171
func
(p *pool) close() {
172
close(p.free)
173
for
w :=
range
p.free {
174
w.close()
175
}
176
}
177
178
func
newWorker() (*worker, error) {
179
w := &worker{
Callers
13
newPool
Function · 0.95
TestNewWorkerCreatesValidHandles
Function · 0.45
TestWorkerCloseIsIdempotent
Function · 0.45
TestWorkerSubmitSetsContext
Function · 0.45
TestNewPoolCreatesCorrectNumberOfWorkers
Function · 0.45
TestPoolAcquireReturnsWorker
Function · 0.45
TestPoolAcquireReturnsNilWhenExhausted
Function · 0.45
TestPoolReleaseHealthyWorkerReturnsItToPool
Function · 0.45
TestPoolReleaseHealthyWorkerResetsContext
Function · 0.45
TestPoolReleasePoisonedWorkerSpawnsReplacement
Function · 0.45
TestPoolConcurrentAcquireRelease
Function · 0.45
TestQueryWorkingSetPoolExhaustion
Function · 0.45
Calls
no outgoing calls
Tested by
11
TestNewWorkerCreatesValidHandles
Function · 0.36
TestWorkerCloseIsIdempotent
Function · 0.36
TestWorkerSubmitSetsContext
Function · 0.36
TestNewPoolCreatesCorrectNumberOfWorkers
Function · 0.36
TestPoolAcquireReturnsWorker
Function · 0.36
TestPoolAcquireReturnsNilWhenExhausted
Function · 0.36
TestPoolReleaseHealthyWorkerReturnsItToPool
Function · 0.36
TestPoolReleaseHealthyWorkerResetsContext
Function · 0.36
TestPoolReleasePoisonedWorkerSpawnsReplacement
Function · 0.36
TestPoolConcurrentAcquireRelease
Function · 0.36
TestQueryWorkingSetPoolExhaustion
Function · 0.36