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

Struct loopQueue

worker_loop_queue.go:27–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25import "time"
26
27type loopQueue struct {
28 items []worker
29 expiry []worker
30 head int
31 tail int
32 size int
33 isFull bool
34}
35
36func newWorkerLoopQueue(size int) *loopQueue {
37 if size <= 0 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected