/base/hiviewdfx/faultloggerd/tools/process_dump/ |
H A D | dfx_unwind_async_thread.cpp | 36 if (unwinder_ == nullptr || thread_ == nullptr) { in UnwindStack() 42 auto regs = thread_->GetThreadRegs(); in UnwindStack() 44 pid_t tid = thread_->threadInfo_.nsTid; in UnwindStack() 58 thread_->SetFrames(unwinder_->GetFrames()); in UnwindStack() 69 thread_->SetFrames(unwinder_->GetFrames()); in UnwindStack() 71 LockParser::ParseLockInfo(unwinder_, tmpPid, thread_->threadInfo_.nsTid); in UnwindStack() 73 thread_->Detach(); in UnwindStack() 75 thread_->SetFrames(unwinder_->GetFrames()); in UnwindStack() 101 size_t byte = DfxMemory::ReadProcMemByPid(thread_->threadInfo_.nsTid, map->begin, tableData->data(), size); in GetSubmitterStack() 119 auto frames = thread_ in MergeStack() [all...] |
H A D | dfx_unwind_async_thread.h | 32 : thread_(thread), unwinder_(unwinder), stackId_(stackId) {} in DfxUnwindAsyncThread() 40 std::shared_ptr<DfxThread> thread_ = nullptr; member in OHOS::HiviewDFX::DfxUnwindAsyncThread
|
/base/msdp/device_status/libs/src/ |
H A D | devicestatus_msdp_mock.cpp | 58 if (thread_.joinable()) { in ~DeviceStatusMsdpMock() 59 thread_.join(); in ~DeviceStatusMsdpMock() 60 FI_HILOGI("thread_ is stop"); in ~DeviceStatusMsdpMock() 98 if (thread_.joinable()) { in Disable() 99 thread_.join(); in Disable() 100 FI_HILOGI("thread_ is stop"); in Disable() 234 thread_ = std::thread([this] { this->LoopingThreadEntry(); }); in StartThread()
|
/base/request/request/frameworks/js/napi/src/legacy/ |
H A D | download_task.cpp | 41 delete thread_;
in ~DownloadTask() 166 thread_ = new (std::nothrow) std::thread(&DownloadTask::Run, this);
in Start() 167 if (thread_ == nullptr) {
in Start() 171 thread_->detach();
in Start()
|
/base/request/request/frameworks/js/napi/src/upload/ |
H A D | upload_task.cpp | 171 thread_ = std::make_unique<std::thread>(UploadTask::Run, shared_from_this());
in ExecuteTask() 172 thread_handle_ = thread_->native_handle();
in ExecuteTask() 173 thread_->detach();
in ExecuteTask()
|
/base/notification/eventhandler/frameworks/eventhandler/src/ |
H A D | event_runner.cpp | 101 if ((!thread_) && (needCreateThread_)) { in ReclaimCurrentThread() 103 thread_ = std::make_unique<std::thread>(&ThreadCollector::Run, this); in ReclaimCurrentThread() 166 if ((thread_) && (thread_->joinable())) { in Stop() 168 thread_->join(); in Stop() 240 std::unique_ptr<std::thread> thread_; member in OHOS::AppExecFwk::__anon1183::ThreadCollector 272 : collectorLock_(), condition_(), reclaims_(), depositMap_(), threadLock_(), thread_(nullptr) in ThreadCollector()
|
/base/request/request/frameworks/js/napi/include/legacy/ |
H A D | download_task.h | 63 std::thread *thread_{};
|
/base/request/request/frameworks/js/napi/include/upload/ |
H A D | upload_task.h | 71 std::unique_ptr<std::thread> thread_;
member in OHOS::Request::Upload::UploadTask
|
/base/msdp/device_status/libs/include/ |
H A D | devicestatus_msdp_mock.h | 76 std::thread thread_; member in OHOS::Msdp::DeviceStatus::final
|
/base/hiviewdfx/hiview/base/ |
H A D | event_loop.cpp | 133 thread_ = std::make_unique<std::thread>(&EventLoop::Run, this);
in StartLoop() 156 if (thread_ != nullptr && thread_->joinable()) {
in StopLoop() 157 thread_->join();
in StopLoop()
|
/base/notification/eventhandler/frameworks/test/moduletest/ |
H A D | event_handler_fd_listener_module_test.cpp | 464 std::thread thread_(AddFileDescriptorHelper); in HWTEST_F() 466 if (thread_.joinable()) { in HWTEST_F() 467 thread_.join(); in HWTEST_F()
|
/base/hiviewdfx/hiview/base/include/ |
H A D | event_loop.h | 152 std::unique_ptr<std::thread> thread_;
member in OHOS::HiviewDFX::EventLoop
|
/base/security/dlp_permission_service/services/dlp_permission/sa/sa_main/ |
H A D | dlp_permission_service.h | 101 std::shared_ptr<std::thread> thread_ = nullptr; member in OHOS::Security::DlpPermission::final
|
H A D | dlp_permission_service.cpp | 665 if (thread_ != nullptr && !thread_->joinable()) { // avoid double assign to an active thread in StartTimer() 669 thread_ = std::make_shared<std::thread>([this] { this->TerminalService(); }); in StartTimer() 670 thread_->detach(); in StartTimer()
|