1
This commit is contained in:
parent
ad5656a00a
commit
d40b258a47
@ -353,6 +353,11 @@ func CreateCondTimer(ch chan int64, cond *sync.Cond, initSeconds int64) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func ExcUntilOk(cb func()bool) {
|
||||||
|
for !cb() {
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
func IsDebug() bool {
|
func IsDebug() bool {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user