Lines Matching refs:thread_id
765 bool NativeProcessFreeBSD::HasThreadNoLock(lldb::tid_t thread_id) { in HasThreadNoLock() argument
768 if (thread->GetID() == thread_id) { in HasThreadNoLock()
778 NativeThreadFreeBSD &NativeProcessFreeBSD::AddThread(lldb::tid_t thread_id) { in AddThread() argument
780 LLDB_LOG(log, "pid {0} adding thread with tid {1}", GetID(), thread_id); in AddThread()
782 assert(thread_id > 0); in AddThread()
783 assert(!HasThreadNoLock(thread_id) && in AddThread()
788 SetCurrentThreadID(thread_id); in AddThread()
790 m_threads.push_back(std::make_unique<NativeThreadFreeBSD>(*this, thread_id)); in AddThread()
794 void NativeProcessFreeBSD::RemoveThread(lldb::tid_t thread_id) { in RemoveThread() argument
796 LLDB_LOG(log, "pid {0} removing thread with tid {1}", GetID(), thread_id); in RemoveThread()
798 assert(thread_id > 0); in RemoveThread()
799 assert(HasThreadNoLock(thread_id) && in RemoveThread()
803 if ((*it)->GetID() == thread_id) { in RemoveThread()