Lines Matching refs:thread_id
777 bool NativeProcessFreeBSD::HasThreadNoLock(lldb::tid_t thread_id) { in HasThreadNoLock() argument
780 if (thread->GetID() == thread_id) { in HasThreadNoLock()
790 NativeThreadFreeBSD &NativeProcessFreeBSD::AddThread(lldb::tid_t thread_id) { in AddThread() argument
792 LLDB_LOG(log, "pid {0} adding thread with tid {1}", GetID(), thread_id); in AddThread()
794 assert(thread_id > 0); in AddThread()
795 assert(!HasThreadNoLock(thread_id) && in AddThread()
800 SetCurrentThreadID(thread_id); in AddThread()
802 m_threads.push_back(std::make_unique<NativeThreadFreeBSD>(*this, thread_id)); in AddThread()
806 void NativeProcessFreeBSD::RemoveThread(lldb::tid_t thread_id) { in RemoveThread() argument
808 LLDB_LOG(log, "pid {0} removing thread with tid {1}", GetID(), thread_id); in RemoveThread()
810 assert(thread_id > 0); in RemoveThread()
811 assert(HasThreadNoLock(thread_id) && in RemoveThread()
815 if ((*it)->GetID() == thread_id) { in RemoveThread()
821 if (GetCurrentThreadID() == thread_id) in RemoveThread()