Home
last modified time | relevance | path

Searched refs:dataCacheMutex_ (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/image/
H A Dimage_cache.cpp107 if (!dataCacheMutex_.try_lock_for(std::chrono::milliseconds(MAX_WAITING_TIME))) { in CacheImageData()
114 std::scoped_lock lock(std::adopt_lock, dataCacheMutex_); in CacheImageData()
169 if (!dataCacheMutex_.try_lock_for(std::chrono::milliseconds(MAX_WAITING_TIME))) { in GetCacheImageData()
176 std::scoped_lock lock(std::adopt_lock, dataCacheMutex_); in GetCacheImageData()
200 if (!dataCacheMutex_.try_lock_for(std::chrono::milliseconds(MAX_WAITING_TIME))) { in ClearCacheImage()
207 std::scoped_lock lock(std::adopt_lock, dataCacheMutex_); in ClearCacheImage()
226 if (!dataCacheMutex_.try_lock_for(std::chrono::milliseconds(MAX_WAITING_TIME))) { in Clear()
233 std::scoped_lock lock(std::adopt_lock, dataCacheMutex_); in Clear()
H A Dimage_cache.h99 std::timed_mutex dataCacheMutex_; variable