Home
last modified time | relevance | path

Searched refs:tempMutex (Results 1 - 2 of 2) sorted by relevance

/foundation/communication/dsoftbus/adapter/common/kernel/posix/
H A Dsoftbus_adapter_thread.c56 pthread_mutex_t *tempMutex; in SoftBusMutexInit() local
57 tempMutex = (pthread_mutex_t *)SoftBusCalloc(sizeof(pthread_mutex_t)); in SoftBusMutexInit()
58 if (tempMutex == NULL) { in SoftBusMutexInit()
59 COMM_LOGE(COMM_ADAPTER, "tempMutex is null"); in SoftBusMutexInit()
78 int32_t ret = pthread_mutex_init(tempMutex, &attr); in SoftBusMutexInit()
81 SoftBusFree(tempMutex); in SoftBusMutexInit()
82 tempMutex = NULL; in SoftBusMutexInit()
87 *mutex = (SoftBusMutex)tempMutex; in SoftBusMutexInit()
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/syncer/
H A Ddistributeddb_single_ver_p2p_sync_check_test.cpp941 std::mutex tempMutex; in HWTEST_F() local
946 tempMutex.lock(); in HWTEST_F()
954 tempMutex.unlock(); in HWTEST_F()
958 tempMutex.unlock(); in HWTEST_F()

Completed in 4 milliseconds