Home
last modified time | relevance | path

Searched refs:thread_ (Results 1 - 14 of 14) sorted by relevance

/base/hiviewdfx/faultloggerd/tools/process_dump/
H A Ddfx_unwind_async_thread.cpp36 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 Ddfx_unwind_async_thread.h32 : 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 Ddevicestatus_msdp_mock.cpp58 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 Ddownload_task.cpp41 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 Dupload_task.cpp171 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 Devent_runner.cpp101 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 Ddownload_task.h63 std::thread *thread_{};
/base/request/request/frameworks/js/napi/include/upload/
H A Dupload_task.h71 std::unique_ptr<std::thread> thread_; member in OHOS::Request::Upload::UploadTask
/base/msdp/device_status/libs/include/
H A Ddevicestatus_msdp_mock.h76 std::thread thread_; member in OHOS::Msdp::DeviceStatus::final
/base/hiviewdfx/hiview/base/
H A Devent_loop.cpp133 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 Devent_handler_fd_listener_module_test.cpp464 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 Devent_loop.h152 std::unique_ptr<std::thread> thread_; member in OHOS::HiviewDFX::EventLoop
/base/security/dlp_permission_service/services/dlp_permission/sa/sa_main/
H A Ddlp_permission_service.h101 std::shared_ptr<std::thread> thread_ = nullptr; member in OHOS::Security::DlpPermission::final
H A Ddlp_permission_service.cpp665 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()

Completed in 9 milliseconds