|
|
|
@ -33,7 +33,7 @@ var (
|
|
|
|
|
LvPanic: "PANIC",
|
|
|
|
|
LvFatal: "FATAL",
|
|
|
|
|
}
|
|
|
|
|
stacks starmap.StarStack
|
|
|
|
|
stacks *starmap.StarStack
|
|
|
|
|
stackStarted bool = false
|
|
|
|
|
stackStopChan chan int
|
|
|
|
|
stackMu sync.Mutex
|
|
|
|
@ -165,7 +165,7 @@ func StartStacks() {
|
|
|
|
|
}
|
|
|
|
|
poped := stacks.MustPop()
|
|
|
|
|
if poped == nil {
|
|
|
|
|
time.Sleep(time.Millisecond * 10)
|
|
|
|
|
time.Sleep(time.Microsecond * 500)
|
|
|
|
|
continue
|
|
|
|
|
}
|
|
|
|
|
val := poped.(logTransfer)
|
|
|
|
@ -185,4 +185,4 @@ func StopStacks() {
|
|
|
|
|
|
|
|
|
|
func Stop() {
|
|
|
|
|
StopStacks()
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|