Home
last modified time | relevance | path

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

/ohos5.0/foundation/ai/ai_engine/services/server/communication_adapter/source/
H A Dclient_listener_handler.cpp159 CHK_RET(asyncProcessThread_ != nullptr, RETCODE_ASYNC_CB_STARTED); in StartAsyncProcessThread()
162 asyncProcessThread_ = threadPool->Pop(); in StartAsyncProcessThread()
163 CHK_RET(asyncProcessThread_ == nullptr, RETCODE_OUT_OF_MEMORY); in StartAsyncProcessThread()
167 threadPool->Push(asyncProcessThread_); in StartAsyncProcessThread()
168 asyncProcessThread_ = nullptr; in StartAsyncProcessThread()
174 threadPool->Push(asyncProcessThread_); in StartAsyncProcessThread()
175 asyncProcessThread_ = nullptr; in StartAsyncProcessThread()
186 if (asyncProcessThread_ != nullptr) { in StopAsyncProcessThread()
187 asyncProcessThread_->StopThread(); in StopAsyncProcessThread()
190 threadPool->Push(asyncProcessThread_); in StopAsyncProcessThread()
[all …]
/ohos5.0/foundation/ai/ai_engine/services/server/communication_adapter/include/
H A Dclient_listener_handler.h85 std::shared_ptr<Thread> asyncProcessThread_ = nullptr; variable