Lines Matching refs:thread
457 ::Thread* thread;
459 (thread = it.Next());) {
460 threads.AddItem(thread);
461 thread->AcquireReference();
466 for (int32 i = 0; (thread = threads.ItemAt(i)) != NULL; i++) {
468 data.SetToFormat("\tthread %" B_PRId32 ": %s %s\n", thread->ID(),
469 thread->Name(), thread->IsMainThread()
473 if (thread->State() == THREAD_STATE_STOPPED) {
475 UiUtils::ThreadStateToString(thread->State(),
476 thread->StoppedReason()));
477 const BString& stoppedInfo = thread->StoppedReasonInfo();
487 error = _DumpDebuggedThreadInfo(_output, thread);
497 for (int32 i = 0; (thread = threads.ItemAt(i)) != NULL; i++)
498 thread->ReleaseReference();
506 ::Thread* thread)
509 if (thread->State() != THREAD_STATE_STOPPED)
515 trace = thread->GetStackTrace();
520 fTraceWaitingThread = thread;
600 error = _DumpStackFrameMemory(_output, thread->GetCpuState(),
601 frame->FrameAddress(), thread->GetTeam()->GetArchitecture()
613 error = fNodeManager->SetStackFrame(thread, frame);
635 CpuState* state = thread->GetCpuState();
876 // sort stopped threads last, otherwise sort by thread ID