Lines Matching refs:thread
68 DFXLOGD("skip recycle thread:%{public}d.", nstids[i]);
73 DFXLOGD("skip key thread:%{public}d.", nstids[i]);
77 auto thread = DfxThread::Create(processInfo_.pid, tids[i], nstids[i]);
79 thread->Attach(PTRACE_ATTATCH_OTHER_THREAD_TIMEOUT);
81 otherThreads_.push_back(thread);
133 for (auto thread : otherThreads_) {
134 if (thread->threadInfo_.nsTid == processInfo_.nsPid) {
135 thread->Attach(PTRACE_ATTATCH_KEY_THREAD_TIMEOUT);
138 thread->Attach(PTRACE_ATTATCH_OTHER_THREAD_TIMEOUT);
148 for (auto thread : otherThreads_) {
149 thread->Detach();