This commit is contained in:
aozhiwei 2024-07-24 09:41:44 +08:00
parent ad5656a00a
commit d40b258a47

View File

@ -353,6 +353,11 @@ func CreateCondTimer(ch chan int64, cond *sync.Cond, initSeconds int64) {
}
}
func ExcUntilOk(cb func()bool) {
for !cb() {
}
}
func IsDebug() bool {
return true
}