Ocean/ICCC/InitCacheNow.go
2015-06-17 17:44:52 +02:00

14 lines
243 B
Go

package ICCC
// Starts the timer cache once and exit it after (no thread, no endless loop).
func InitCacheNow() {
startCacheTimerLock.Lock()
defer startCacheTimerLock.Unlock()
if cacheTimerRunning {
return
}
cacheTimerLogic(false)
}