Commit 2d4522f5 authored by Vladimir Barsukov's avatar Vladimir Barsukov
Browse files

fix

parent 878b2f8c
......@@ -70,6 +70,14 @@ func (p *Pool) WaitInterruptPrePost(pre func(), post func()) {
}
}
func (p *Pool) WaitInterrupt() {
func (p *Pool) WaitInterruptNil() {
p.WaitInterruptPrePost(nil, nil)
}
func (p *Pool) WaitInterrupt() {
p.WaitInterruptPrePost(func() {
p.PrintStat(1)
}, func() {
log.Printf("By by")
})
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment