Home
last modified time | relevance | path

Searched refs:engineMutex_ (Results 1 – 9 of 9) sorted by relevance

/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/gaussdb_rd/
H A Drd_single_ver_natural_store.cpp49 std::unique_lock<std::shared_mutex> lock(engineMutex_); in GetAndInitStorageEngine()
94 engineMutex_.unlock_shared(); // unlock after handle used up in ReleaseHandle()
152 std::unique_lock<std::shared_mutex> lock(engineMutex_); in ReleaseResources()
376 engineMutex_.lock_shared(); in GetHandle()
379 engineMutex_.unlock_shared(); // unlock when get handle failed. in GetHandle()
385 engineMutex_.unlock_shared(); // unlock when get handle failed. in GetHandle()
H A Drd_single_ver_natural_store.h158 mutable std::shared_mutex engineMutex_; variable
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/sqlite/
H A Dsqlite_single_ver_natural_store.cpp387 std::unique_lock<std::shared_mutex> lock(engineMutex_); in GetAndInitStorageEngine()
1066 engineMutex_.lock_shared(); in GetHandle()
1069 engineMutex_.unlock_shared(); // unlock when get handle failed. in GetHandle()
1076 engineMutex_.unlock_shared(); // unlock when get handle failed. in GetHandle()
1083 engineMutex_.unlock_shared(); // unlock when get handle failed. in GetHandle()
1103 engineMutex_.unlock_shared(); // unlock after handle used up in ReleaseHandle()
1157 std::unique_lock<std::shared_mutex> lock(engineMutex_); in ReleaseResources()
H A Dsqlite_single_ver_natural_store.h316 mutable std::shared_mutex engineMutex_; variable
H A Dsqlite_single_ver_natural_store_extend.cpp151 std::lock_guard<std::shared_mutex> autoLock(engineMutex_); in TriggerToMigrateData()
/ohos5.0/base/inputmethod/imf/frameworks/js/napi/inputmethodability/
H A Djs_input_method_engine_setting.h122 static std::mutex engineMutex_; variable
H A Djs_input_method_engine_setting.cpp42 std::mutex JsInputMethodEngineSetting::engineMutex_; member in OHOS::MiscServices::JsInputMethodEngineSetting
204 std::lock_guard<std::mutex> lock(engineMutex_); in GetInputMethodEngineSetting()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/syncer/src/device/
H A Dgeneric_syncer.h235 std::mutex engineMutex_; variable
H A Dgeneric_syncer.cpp67 std::unique_lock<std::mutex> cvLock(engineMutex_); in ~GenericSyncer()
878 std::lock_guard<std::mutex> cvLock(engineMutex_); in BuildSyncEngine()