MCPcopy Create free account
hub / github.com/Alex-Rachel/TGameServer / WorkerPool

Struct WorkerPool

manager/workPool.go:31–35  ·  view source on GitHub ↗

--------------------------- WorkerPool ---------------------

Source from the content-addressed store, hash-verified

29
30// --------------------------- WorkerPool ---------------------
31type WorkerPool struct {
32 workerlen int
33 JobQueue chan Job
34 WorkerQueue chan chan Job
35}
36
37func NewWorkerPool(workerlen int) *WorkerPool {
38 return &WorkerPool{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected