Lines Matching refs:thread_id
806 bool NativeProcessFreeBSD::HasThreadNoLock(lldb::tid_t thread_id) { in HasThreadNoLock() argument
809 if (thread->GetID() == thread_id) { in HasThreadNoLock()
819 NativeThreadFreeBSD &NativeProcessFreeBSD::AddThread(lldb::tid_t thread_id) { in AddThread() argument
821 LLDB_LOG(log, "pid {0} adding thread with tid {1}", GetID(), thread_id); in AddThread()
823 assert(thread_id > 0); in AddThread()
824 assert(!HasThreadNoLock(thread_id) && in AddThread()
829 SetCurrentThreadID(thread_id); in AddThread()
831 m_threads.push_back(std::make_unique<NativeThreadFreeBSD>(*this, thread_id)); in AddThread()
835 void NativeProcessFreeBSD::RemoveThread(lldb::tid_t thread_id) { in RemoveThread() argument
837 LLDB_LOG(log, "pid {0} removing thread with tid {1}", GetID(), thread_id); in RemoveThread()
839 assert(thread_id > 0); in RemoveThread()
840 assert(HasThreadNoLock(thread_id) && in RemoveThread()
844 if ((*it)->GetID() == thread_id) { in RemoveThread()
850 if (GetCurrentThreadID() == thread_id) in RemoveThread()