cache_thr
if ((terr = thr_create(0, 0, cache_thr, NULL, 0, NULL)) != 0) {
static void *cache_thr(void *);