threaded cache initialization