Lines Matching defs:thread_sp
96 ThreadSP thread_sp;
98 thread_sp = m_threads[idx];
99 return thread_sp;
108 ThreadSP thread_sp;
113 thread_sp = m_threads[idx];
117 return thread_sp;
126 ThreadSP thread_sp;
131 thread_sp = m_threads[idx];
135 return thread_sp;
144 ThreadSP thread_sp;
149 thread_sp = m_threads[idx];
154 return thread_sp;
164 ThreadSP thread_sp;
169 thread_sp = m_threads[idx];
174 return thread_sp;
178 ThreadSP thread_sp;
186 thread_sp = m_threads[idx];
191 return thread_sp;
197 ThreadSP thread_sp;
201 thread_sp = m_threads[idx];
205 return thread_sp;
214 ThreadSP thread_sp;
218 thread_sp = m_threads[idx];
222 return thread_sp;
244 for (lldb::ThreadSP thread_sp : m_threads) {
255 if (thread_sp->GetTemporaryResumeState() != eStateSuspended ||
256 thread_sp->IsStillAtLastBreakpointHit()
257 || thread_sp->ShouldRunBeforePublicStop())
258 threads_copy.push_back(thread_sp);
301 ThreadSP thread_sp(*pos);
302 thread_sp->GetStopInfo();
310 ThreadSP thread_sp(*pos);
332 if (thread_sp->GetProcess()->GetStopID() > 1)
335 did_anybody_stop_for_a_reason |= thread_sp->ThreadStoppedForAReason();
337 const bool thread_should_stop = thread_sp->ShouldStop(event_ptr);
342 bool this_thread_forces_run = thread_sp->ShouldRunBeforePublicStop();
348 __FUNCTION__, thread_sp->GetID());
367 ThreadSP thread_sp(*pos);
368 thread_sp->WillStop();
392 ThreadSP thread_sp(*pos);
393 if (thread_sp->ShouldRunBeforePublicStop()) {
395 "the should report stop.", thread_sp->GetID());
400 const Vote vote = thread_sp->ShouldReportStop(event_ptr);
415 thread_sp->GetID(), vote, result);
430 ThreadSP thread_sp(*pos);
431 thread_sp->SetShouldReportStop(vote);
588 ThreadSP thread_sp(*pos);
589 if (thread_sp->GetResumeState() != eStateSuspended &&
590 thread_sp->GetCurrentPlan()->StopOthers()) {
596 assert(thread_sp->GetCurrentPlan()->RunState() != eStateSuspended);
597 run_me_only_list.AddThread(thread_sp);
599 if (thread_sp == GetSelectedThread())
600 stop_others_thread_sp = thread_sp;
602 if (thread_sp->ShouldRunBeforePublicStop()) {
604 stop_others_thread_sp = thread_sp;
615 ThreadSP thread_sp(*pos);
617 if (thread_sp->GetResumeState() != eStateSuspended)
618 run_state = thread_sp->GetCurrentPlan()->RunState();
621 if (!thread_sp->ShouldResume(run_state))
639 ThreadSP thread_sp(*pos);
640 if (thread_sp == thread_to_run) {
644 if (!thread_sp->ShouldResume(thread_sp->GetCurrentPlan()->RunState()))
647 thread_sp->ShouldResume(eStateSuspended);
660 ThreadSP thread_sp(*pos);
661 if (thread_sp->GetTemporaryResumeState() != eStateSuspended)
662 thread_sp->DidResume();
677 ThreadSP thread_sp(*pos);
678 if (StateIsRunningState(thread_sp->GetState()))
679 thread_sp->DidStop();
685 ThreadSP thread_sp = FindThreadByID(m_selected_tid);
686 if (!thread_sp.get()) {
688 return thread_sp;
690 thread_sp = m_threads[0];
692 return thread_sp;
792 lldb::ThreadSP thread_sp)
794 if (thread_sp) {
795 m_tid = thread_sp->GetID();
796 m_thread_list = &thread_sp->GetProcess()->GetThreadList();