Lines Matching refs:thread_id
805 bool NativeProcessNetBSD::HasThreadNoLock(lldb::tid_t thread_id) { in HasThreadNoLock() argument
808 if (thread->GetID() == thread_id) { in HasThreadNoLock()
818 NativeThreadNetBSD &NativeProcessNetBSD::AddThread(lldb::tid_t thread_id) { in AddThread() argument
820 LLDB_LOG(log, "pid {0} adding thread with tid {1}", GetID(), thread_id); in AddThread()
822 assert(thread_id > 0); in AddThread()
823 assert(!HasThreadNoLock(thread_id) && in AddThread()
828 SetCurrentThreadID(thread_id); in AddThread()
830 m_threads.push_back(std::make_unique<NativeThreadNetBSD>(*this, thread_id)); in AddThread()
834 void NativeProcessNetBSD::RemoveThread(lldb::tid_t thread_id) { in RemoveThread() argument
836 LLDB_LOG(log, "pid {0} removing thread with tid {1}", GetID(), thread_id); in RemoveThread()
838 assert(thread_id > 0); in RemoveThread()
839 assert(HasThreadNoLock(thread_id) && in RemoveThread()
843 if ((*it)->GetID() == thread_id) { in RemoveThread()