Lines Matching defs:thread
23 // These commands all take thread ID's as arguments.
31 // These commands all take thread ID's as arguments.
41 Thread *thread = m_exe_ctx.GetThreadPtr();
42 if (thread)
43 HandleOneThread(thread->GetID(), result);
70 result.AppendErrorWithFormat("invalid thread specification: \"%s\"\n",
75 ThreadSP thread =
78 if (!thread) {
79 result.AppendErrorWithFormat("no thread with index: \"%s\"\n",
84 tids.push_back(thread->GetID());
97 // Write the thread id's and unique call stacks to the output stream
101 // List the common thread ID's
104 strm.Format("{0} thread(s) ", thread_index_ids.size());
112 ThreadSP thread = process->GetThreadList().FindThreadByIndexID(
114 if (!HandleOneThread(thread->GetID(), result)) {
135 // Grab the corresponding thread for the given thread id.
137 Thread *thread = process->GetThreadList().FindThreadByID(tid).get();
138 if (thread == nullptr) {
139 result.AppendErrorWithFormatv("Failed to process thread #{0}.\n", tid);
145 const uint32_t frame_count = thread->GetStackFrameCount();
148 thread->GetStackFrameAtIndex(frame_index);
153 uint32_t thread_index_id = thread->GetIndexID();
182 Thread &thread = m_exe_ctx.GetThreadRef();
183 tids.push_back(thread.GetID());
189 result.AppendErrorWithFormat("invalid thread specification: \"%s\"\n",
194 ThreadSP thread = process.GetThreadList().FindThreadByIndexID(thread_idx);
196 if (!thread) {
197 result.AppendErrorWithFormat("no thread with index: \"%s\"\n",
202 tids.push_back(thread->GetID());