Home
last modified time | relevance | path

Searched refs:semaphore_ (Results 1 – 7 of 7) sorted by relevance

/ohos5.0/foundation/ai/ai_engine/services/server/server_executor/source/
H A Dfuture.cpp36 semaphore_ = ISemaphore::MakeShared(0); in Future()
50 semaphore_->Wait(timeOut); in GetResponse()
92 semaphore_->Signal(); in SetResponse()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/syncer/src/
H A Dsync_operation.cpp32 semaphore_(nullptr), in SyncOperation()
65 semaphore_ = std::make_unique<SemaphoreUtils>(0); in Initialize()
207 if (isBlockSync_ && (semaphore_ != nullptr)) { in WaitIfNeed()
209 semaphore_->WaitSemaphore(); in WaitIfNeed()
215 if (isBlockSync_ && (semaphore_ != nullptr)) { in NotifyIfNeed()
217 semaphore_->SendSemaphore(); in NotifyIfNeed()
H A Dsync_operation.h182 std::unique_ptr<SemaphoreUtils> semaphore_; variable
/ohos5.0/foundation/ai/ai_engine/services/server/server_executor/include/
H A Dfuture.h82 std::shared_ptr<ISemaphore> semaphore_; variable
/ohos5.0/foundation/multimedia/av_session/frameworks/js/napi/session/src/
H A Dnapi_async_callback.cpp28 int res = sem_init(&semaphore_, 0, 1); in NapiAsyncCallback()
37 sem_destroy(&semaphore_); in ~NapiAsyncCallback()
/ohos5.0/foundation/multimedia/av_session/frameworks/js/napi/session/include/
H A Dnapi_async_callback.h75 sem_t semaphore_ = {}; variable
/ohos5.0/foundation/graphic/graphic_2d/frameworks/vulkan_layers/test/unittest/
H A Dvulkan_loader_unit_test.cpp101 static inline VkSemaphore semaphore_ = VK_NULL_HANDLE; member in vulkan::loader::VulkanLoaderUnitTest
978 VkResult err = vkCreateSemaphore(device_, &semaphoreCreateInfo, nullptr, &semaphore_);
995 pAcquireInfo.semaphore = semaphore_;
1039 EXPECT_NE(semaphore_, VK_NULL_HANDLE);
1040 presentInfo.pWaitSemaphores = &semaphore_;