Lines Matching defs:thread
23 // enough. Should that ever change, we would need a thread-safe
32 Event(int type, ::Thread* thread = NULL, TeamMemoryBlock* block = NULL,
37 fThreadReference(thread),
234 CliContext::SetCurrentThread(::Thread* thread)
241 fCurrentThread = thread;
253 // if the thread's stack trace has already been loaded,
254 // set it, otherwise we'll set it when we process the thread's
272 printf("current thread: %" B_PRId32 " \"%s\"\n", fCurrentThread->ID(),
275 printf("no current thread\n");
412 message->FindInt32("thread", &threadID);
419 printf("[new thread: %" B_PRId32 " \"%s\"]\n", threadID,
423 printf("[thread terminated: %" B_PRId32 " \"%s\"]\n",
429 ::Thread* thread = fTeam->ThreadByID(threadID);
431 if (thread->State() == THREAD_STATE_STOPPED) {
432 printf("[thread stopped: %" B_PRId32 " \"%s\"]\n",
434 fStoppedThread.SetTo(thread);
443 ::Thread* thread = fTeam->ThreadByID(threadID);
445 fCurrentStackTrace = thread->GetStackTrace();
509 message.AddInt32("thread", threadEvent.GetThread()->ID());
519 message.AddInt32("thread", threadEvent.GetThread()->ID());
529 message.AddInt32("thread", threadEvent.GetThread()->ID());
542 message.AddInt32("thread", threadEvent.GetThread()->ID());