MCPcopy
hub / github.com/panjf2000/ants / IsClosed

Method IsClosed

ants.go:379–381  ·  view source on GitHub ↗

IsClosed indicates whether the pool is closed.

()

Source from the content-addressed store, hash-verified

377
378// IsClosed indicates whether the pool is closed.
379func (p *poolCommon) IsClosed() bool {
380 return atomic.LoadInt32(&p.state) == CLOSED
381}
382
383// Release closes this pool and releases the worker queue.
384func (p *poolCommon) Release() {

Callers 14

purgeStaleWorkersMethod · 0.95
ticktockMethod · 0.95
ReleaseContextMethod · 0.95
retrieveWorkerMethod · 0.95
revertWorkerMethod · 0.95
InvokeMethod · 0.45
InvokeMethod · 0.45
SubmitMethod · 0.45
runMethod · 0.45

Calls

no outgoing calls