1
This commit is contained in:
@@ -4,6 +4,13 @@ import (
|
||||
"sync"
|
||||
)
|
||||
|
||||
var Poll *Pool
|
||||
|
||||
func init() {
|
||||
Poll = NewPool(500)
|
||||
Poll.Start()
|
||||
}
|
||||
|
||||
type Job func()
|
||||
|
||||
type Worker struct {
|
||||
|
||||
Reference in New Issue
Block a user