MCPcopy Create free account
hub / github.com/LyricTian/queue / RunListQueue

Function RunListQueue

queue.go:26–31  ·  view source on GitHub ↗

RunListQueue start running list queues ,specify the number of worker threads

(maxThread int)

Source from the content-addressed store, hash-verified

24// RunListQueue start running list queues
25// ,specify the number of worker threads
26func RunListQueue(maxThread int) {
27 if internalQueue == nil {
28 internalQueue = NewListQueue(maxThread)
29 }
30 internalQueue.Run()
31}
32
33// Push put the executable task into the queue
34func Push(job Jober) {

Callers

nothing calls this directly

Calls 2

NewListQueueFunction · 0.85
RunMethod · 0.65

Tested by

no test coverage detected