Lines Matching refs:thread_id
825 bool NativeProcessNetBSD::HasThreadNoLock(lldb::tid_t thread_id) { in HasThreadNoLock() argument
828 if (thread->GetID() == thread_id) { in HasThreadNoLock()
838 NativeThreadNetBSD &NativeProcessNetBSD::AddThread(lldb::tid_t thread_id) { in AddThread() argument
840 LLDB_LOG(log, "pid {0} adding thread with tid {1}", GetID(), thread_id); in AddThread()
842 assert(thread_id > 0); in AddThread()
843 assert(!HasThreadNoLock(thread_id) && in AddThread()
848 SetCurrentThreadID(thread_id); in AddThread()
850 m_threads.push_back(std::make_unique<NativeThreadNetBSD>(*this, thread_id)); in AddThread()
854 void NativeProcessNetBSD::RemoveThread(lldb::tid_t thread_id) { in RemoveThread() argument
856 LLDB_LOG(log, "pid {0} removing thread with tid {1}", GetID(), thread_id); in RemoveThread()
858 assert(thread_id > 0); in RemoveThread()
859 assert(HasThreadNoLock(thread_id) && in RemoveThread()
863 if ((*it)->GetID() == thread_id) { in RemoveThread()