Lines Matching refs:thread_id
754 bool NativeProcessNetBSD::HasThreadNoLock(lldb::tid_t thread_id) {
757 if (thread->GetID() == thread_id) {
767 NativeThreadNetBSD &NativeProcessNetBSD::AddThread(lldb::tid_t thread_id) {
769 LLDB_LOG(log, "pid {0} adding thread with tid {1}", GetID(), thread_id);
771 assert(thread_id > 0);
772 assert(!HasThreadNoLock(thread_id) &&
777 SetCurrentThreadID(thread_id);
779 m_threads.push_back(std::make_unique<NativeThreadNetBSD>(*this, thread_id));
783 void NativeProcessNetBSD::RemoveThread(lldb::tid_t thread_id) {
785 LLDB_LOG(log, "pid {0} removing thread with tid {1}", GetID(), thread_id);
787 assert(thread_id > 0);
788 assert(HasThreadNoLock(thread_id) &&
792 if ((*it)->GetID() == thread_id) {