Searched refs:thread_ (Results 1 – 13 of 13) sorted by relevance
/base/hiviewdfx/hiview/base/ |
D | event_dispatch_queue.cpp | 97 if (thread_ != nullptr && thread_->joinable()) { in Stop() 98 thread_->join(); in Stop() 107 thread_ = std::make_unique<std::thread>(&EventDispatchQueue::Run, this); in Start()
|
D | event_loop.cpp | 132 thread_ = std::make_unique<std::thread>(&EventLoop::Run, this); in StartLoop() 155 if (thread_ != nullptr && thread_->joinable()) { in StopLoop() 156 thread_->join(); in StopLoop()
|
/base/request/request/frameworks/js/napi/src/legacy/ |
D | download_task.cpp | 40 delete thread_; in ~DownloadTask() 165 thread_ = new (std::nothrow) std::thread(&DownloadTask::Run, this); in Start() 166 if (thread_ == nullptr) { in Start() 170 thread_->detach(); in Start()
|
/base/notification/eventhandler/frameworks/eventhandler/src/ |
D | event_runner.cpp | 89 if ((!thread_) && (needCreateThread_)) { in ReclaimCurrentThread() 91 thread_ = std::make_unique<std::thread>(&ThreadCollector::Run, this); in ReclaimCurrentThread() 152 if ((thread_) && (thread_->joinable())) { in Stop() 154 thread_->join(); in Stop() 226 std::unique_ptr<std::thread> thread_; member in OHOS::AppExecFwk::__anon3987a0390111::ThreadCollector 257 : collectorLock_(), condition_(), reclaims_(), depositMap_(), threadLock_(), thread_(nullptr) in ThreadCollector()
|
/base/request/request/frameworks/js/napi/src/upload/ |
D | upload_task.cpp | 170 thread_ = std::make_unique<std::thread>(UploadTask::Run, shared_from_this()); in ExecuteTask() 171 thread_handle_ = thread_->native_handle(); in ExecuteTask() 172 thread_->detach(); in ExecuteTask()
|
/base/hiviewdfx/hiview/base/include/ |
D | event_dispatch_queue.h | 56 std::unique_ptr<std::thread> thread_; variable
|
D | event_loop.h | 155 std::unique_ptr<std::thread> thread_; variable
|
/base/request/request/frameworks/js/napi/include/legacy/ |
D | download_task.h | 61 std::thread *thread_ {};
|
/base/request/request/frameworks/js/napi/include/upload/ |
D | upload_task.h | 68 std::unique_ptr<std::thread> thread_; variable
|
/base/msdp/device_status/libs/include/ |
D | devicestatus_msdp_mock.h | 76 std::shared_ptr<std::thread> thread_ { nullptr };
|
/base/msdp/device_status/libs/src/ |
D | devicestatus_msdp_mock.cpp | 221 thread_ = std::make_shared<std::thread>(&DeviceStatusMsdpMock::LoopingThreadEntry, this); in StartThread() 222 thread_ ->detach(); in StartThread()
|
/base/security/dlp_permission_service/services/dlp_permission/sa/sa_main/ |
D | dlp_permission_service.cpp | 62 thread_ = nullptr; in DlpPermissionService() 590 if (thread_ != nullptr && !thread_->joinable()) { // avoid double assign to an active thread in StartTimer() 594 thread_ = std::make_shared<std::thread>(&DlpPermissionService::TerminalService, this); in StartTimer() 595 thread_->detach(); in StartTimer()
|
D | dlp_permission_service.h | 95 std::shared_ptr<std::thread> thread_; variable
|